Interface IAuthHandler
- All Superinterfaces:
IComponent
,IHandler
,IInitializable
,ISystemHandler
The
IComponent
for the IAuthManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(HttpServletRequest request) EachIAuthHandler
attempts to retrieve authorization information from the user.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.framework.IHandler
getConfigElem, getHandlerBean, getName, getPerfToken, initialize, postInitialize, shutdown
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init
-
Method Details
-
handle
EachIAuthHandler
attempts to retrieve authorization information from the user. This can come from a variety of places, and is designed to be completely pluggable.
When theAuthManager
is asked to retrieveAuthInfo
, then after generating a defaultAuthInfo
object, the registeredIAuthHandler
s will be delegated to.
It is important that eachIAuthHandler
exit it's function as soon as possible if no authorization information is avaliable.
Note: to retrieve anAuthInfo
object for modification, callAuthInfo.getAuthInfo(javax.servlet.http.HttpSession)
TheIAuthHandler
s will be delegated to in the way they were listed in the auth.xml file.- Parameters:
request
- the HttpServletRequest to construct theAuthInfo
from- Returns:
true
if this request was 'handled',false
otherwise.- Throws:
FrameworkException
-