|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SessionManager
Interface containing the methods for setting and retrieving the current
principal.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
WTPrincipal |
getAdministrator()
Returns the default administrator. |
WTPrincipal |
getPrincipal()
Retrieves current principal. |
WTPrincipalReference |
getPrincipalReference()
Retrieves a reference to the current principal. |
WTPrincipal |
setAdministrator()
Sets the default administrator as the current principal. |
void |
setAuthenticatedPrincipal(String web_name)
Set the current principal given its web server authentication id. |
WTPrincipal |
setPrincipal(String name)
Sets the current principal given the principal's name. |
| Method Detail |
|---|
WTPrincipal getPrincipal()
throws WTException
WTException
WTPrincipalReference getPrincipalReference()
throws WTException
WTException
WTPrincipal setPrincipal(String name)
throws WTException
This method is accessible at the client
only when the wt.session.clientAuthenticatedLogin is set to false
in wt.properties or the current principal is part of the administrators
group.
Supported API: true
name -
WTException
WTPrincipal setAdministrator()
throws WTException
This method
is accessible at the client only when the wt.session.clientAuthenticatedLogin
is set to false in wt.properties or the current principal is part
of the administrators group.
Supported API: true
WTException
WTPrincipal getAdministrator()
throws WTException
WTException
void setAuthenticatedPrincipal(String web_name)
throws WTException
web_name -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||