Package com.sun.jaspic.config.jaas
Class JAASAuthContextHelper
- java.lang.Object
-
- com.sun.jaspic.config.helper.BaseAuthContextImpl
-
- com.sun.jaspic.config.jaas.JAASAuthContextHelper
-
public class JAASAuthContextHelper extends BaseAuthContextImpl
- Author:
- Ron Monzillo
-
-
Constructor Summary
Constructors Constructor Description JAASAuthContextHelper(String loggerName, boolean returnNullContexts, ExtendedConfigFile jaasConfig, Map<String,?> properties, String appContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexitContext(jakarta.security.auth.message.AuthStatus[] successValue, int i, jakarta.security.auth.message.AuthStatus moduleStatus)Map<String,Object>getInitProperties(int i, Map<String,Object> properties)<M> M[]getModules(M[] template, String authContextID)this implementation does not depend on authContextIDjakarta.security.auth.message.AuthStatusgetReturnStatus(jakarta.security.auth.message.AuthStatus[] successValue, jakarta.security.auth.message.AuthStatus defaultFailStatus, jakarta.security.auth.message.AuthStatus[] status, int position)<M> booleanhasModules(M[] template, String authContextID)This implementation does not depend on authContextIDprotected voidrefresh()-
Methods inherited from class com.sun.jaspic.config.helper.BaseAuthContextImpl
getLogger, isLoggable, isProtected, logIfLevel, returnsNullContexts
-
-
-
-
Constructor Detail
-
JAASAuthContextHelper
public JAASAuthContextHelper(String loggerName, boolean returnNullContexts, ExtendedConfigFile jaasConfig, Map<String,?> properties, String appContext) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
-
Method Detail
-
refresh
protected final void refresh()
- Specified by:
refreshin classBaseAuthContextImpl
-
hasModules
public <M> boolean hasModules(M[] template, String authContextID) throws jakarta.security.auth.message.AuthExceptionThis implementation does not depend on authContextID- Specified by:
hasModulesin classBaseAuthContextImpl- Type Parameters:
M-- Parameters:
template-authContextID- (ignored by this context system)- Returns:
- Throws:
jakarta.security.auth.message.AuthException
-
getModules
public <M> M[] getModules(M[] template, String authContextID) throws jakarta.security.auth.message.AuthExceptionthis implementation does not depend on authContextID- Specified by:
getModulesin classBaseAuthContextImpl- Type Parameters:
M-- Parameters:
template-authContextID- (ignored by this context system)- Returns:
- Throws:
jakarta.security.auth.message.AuthException
-
getInitProperties
public Map<String,Object> getInitProperties(int i, Map<String,Object> properties)
- Specified by:
getInitPropertiesin classBaseAuthContextImpl- Returns:
-
exitContext
public boolean exitContext(jakarta.security.auth.message.AuthStatus[] successValue, int i, jakarta.security.auth.message.AuthStatus moduleStatus)- Specified by:
exitContextin classBaseAuthContextImpl- Returns:
-
getReturnStatus
public jakarta.security.auth.message.AuthStatus getReturnStatus(jakarta.security.auth.message.AuthStatus[] successValue, jakarta.security.auth.message.AuthStatus defaultFailStatus, jakarta.security.auth.message.AuthStatus[] status, int position)- Specified by:
getReturnStatusin classBaseAuthContextImpl- Returns:
-
-