|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.session.SessionManagerFwd
Interface containing the methods for setting and retrieving the current
principal.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Fields inherited from interface wt.session.SessionManager |
ACCEPT_LANGUAGE |
Constructor Summary | |
SessionManagerFwd()
|
Method Summary | |
void |
destroySessionContext(String prefix,
String sessionId)
Given prefix and sessionId of a SessionContext created via getContext(prefix,sessionId), find that session and destroy it. |
WTPrincipal |
getAdministrator()
Returns the default administrator. |
Vector |
getLanguagePreference()
Supported API: false |
Locale |
getLocale()
Supported API: false |
private static Manager |
getManager()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public SessionManagerFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public WTPrincipal getPrincipal() throws WTException
getPrincipal
in interface SessionManager
WTException
public WTPrincipalReference getPrincipalReference() throws WTException
getPrincipalReference
in interface SessionManager
WTException
public 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: false
setPrincipal
in interface SessionManager
name
-
WTException
public 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: false
setAdministrator
in interface SessionManager
WTException
public WTPrincipal getAdministrator() throws WTException
getAdministrator
in interface SessionManager
WTException
public void setAuthenticatedPrincipal(String web_name) throws WTException
setAuthenticatedPrincipal
in interface SessionManager
web_name
-
WTException
public Locale getLocale() throws WTException
getLocale
in interface SessionManager
WTException
public Vector getLanguagePreference() throws WTException
getLanguagePreference
in interface SessionManager
WTException
public void destroySessionContext(String prefix, String sessionId) throws WTException
This is intended for use from the servlet engine to allow the Windchill
SessionContext to be destroyed when the servlet session is destroyed
to release objects more quickly in some cases.
Supported API: false
destroySessionContext
in interface SessionManager
prefix
- used guarentee uniqueness to the keysessionId
- session id of the JSP/Servlet engine calling the method server
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |