| com.sun.ssoadapter.config.ClientAwareAppContext
All known Subclasses: com.sun.ssoadapter.config.PSClientAwareAppContext,
ClientAwareAppContext | public interface ClientAwareAppContext (Code) | | Copied from hana_ws/ps/desktop/src/com/sun/portal/
desktop/context/DesktopAppContext.java
This object encapsulates the session-less objects - ClientContext,
DebugContext, SessionAppContext & ServiceAppContext.
|
getAttribute | public Set getAttribute(Map service, String clientType, String attributeName) throws IOException, MissingResourceException(Code) | | Gets the server-specific (global) attribute.
Parameters: service - A list of properties required by the backend service. Ex: DSAME requires a name of the service to get/set any attributes in the Global/Organization scope. The name of the service is referenced by the keyword "serviceName". The Map shouldcontain atleast this property to work with DSAME. Parameters: clientType - The client-type specific attribute to retireve Parameters: attributeName - The attribute name. The attribute value as Set. If property isnot found, return null. exception: IOException - If the value could not be retrieved from thedata store. exception: MissingResourceException - If any of the properties required by thebackend service were missing the the service MAP |
getAttribute | public Set getAttribute(Map service, String attributeName) throws IOException, MissingResourceException(Code) | | Gets the server-specific (global) attribute.
The attribute value as Set. If property isnot found, return null. Parameters: attributeName - Parameters: service - A list of properties required by the backend service. Ex: DSAME requires a name of the service to get/set any attributes in the Global/Organization scope. The name of the service is referenced by the keyword "serviceName". The Map shouldcontain atleast this property to work with DSAME. exception: IOException - If the value could not be retrieved from thedata store. exception: MissingResourceException - If any of the properties required by thebackend service were missing the the service MAP |
getClientType | public String getClientType(SSOAdapterSession session)(Code) | | This method is used when a session is not yet created/valid.
Parameters: session - The SSOAdapterSession The clientType string |
getSessionID | public String getSessionID(SSOAdapterSession session)(Code) | | Get the session id corresponding to the session referenced by Request
Parameters: session - SSOAdapterSession The Session ID associated with the Request. null if session isinvalid |
getStringAttribute | public String getStringAttribute(Map service, String clientType, String attrName) throws IOException, MissingResourceException(Code) | | Gets the server-specific (global) attribute.
Parameters: service - A list of properties required by the backend service. Ex: DSAME requires a name of the service to get/set any attributes in the Global/Organization scope. The name of the service is referenced by the keyword "serviceName". The Map shouldcontain atleast this property to work with DSAME. Parameters: clientType - The client-type specific attribute to retireve Parameters: attrName - The attribute name. The attribute value in String format. If property isnot found, return null. exception: IOException - If the value could not be retrieved from thedata store. exception: MissingResourceException - If any of the properties required by the backend service were missing the the service MAP |
getStringAttribute | public String getStringAttribute(Map service, String attrName) throws IOException, MissingResourceException(Code) | | Gets the server-specific (global) attribute.
Parameters: service - A list of properties required by the backend service. Ex: DSAME requires a name of the service to get/set any attributes in the Global/Organization scope. The name of the service is referenced by the keyword "serviceName". The Map shouldcontain atleast this property to work with DSAME. Parameters: attrName - The attribute name. (The client type is assumed to be"default"). The attribute value in String format. If property isnot found, return null. exception: IOException - If the value could not be retrieved from thedata store. exception: MissingResourceException - If any of the properties required by thebackend service were missing the the service MAP |
isAuthorizedAuthlessUID | public boolean isAuthorizedAuthlessUID(String uid)(Code) | | Parameters: uid - |
validateSession | public boolean validateSession(SSOAdapterSession session)(Code) | | Validate the session referenced by the Request
Parameters: session - |
|
|