public interface IAuthManager extends IComponentProvider
PortalSystem
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
Modifier and Type | Method and Description |
---|---|
IAuthInfo |
createAuthInfo()
Factory to create a new authinfo object
|
IAuthInfo |
getAuthInfo(HttpSession session)
Return the current auth info for the session
|
IAuthInfo |
handleAuth(HttpServletRequest request)
Create a default
AuthInfo object and associate it with the user's session.Then Iterate through the registered IAuthHandler s until a true is
returned. |
boolean |
shouldReAuth(HttpServletRequest request)
Iterate through the registered
IAuthHandler s. |
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
acquireURI, acquireURI
IAuthInfo handleAuth(HttpServletRequest request) throws PortalException
AuthInfo
object and associate it with the user's session.IAuthHandler
s until a true
is
returned. At the end of this call, if authorization information was found, the
AuthInfo
will be returnedrequest
- PortalException
boolean shouldReAuth(HttpServletRequest request) throws PortalException
IAuthHandler
s. If the
auth handler implements the IReAuthHandler interface, check if the auth handler wants the auth
credentials to be reauthenticated. request
- the HttpServletRequest to checktrue
if this request should re-authenticate the auth credentials, false
otherwise.PortalException
IAuthInfo getAuthInfo(HttpSession session) throws PortalException
session
- the session to get the auth info forPortalException
IAuthInfo createAuthInfo() throws PortalException
PortalException