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 boolean
exitContext(jakarta.security.auth.message.AuthStatus[] successValue, int i, jakarta.security.auth.message.AuthStatus moduleStatus)
Map<String,?>
getInitProperties(int i, Map<String,?> properties)
<M> M[]
getModules(M[] template, String authContextID)
this implementation does not depend on authContextIDjakarta.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)
<M> boolean
hasModules(M[] template, String authContextID)
This implementation does not depend on authContextIDprotected void
refresh()
-
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:
refresh
in classBaseAuthContextImpl
-
hasModules
public <M> boolean hasModules(M[] template, String authContextID) throws jakarta.security.auth.message.AuthException
This implementation does not depend on authContextID- Specified by:
hasModules
in 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.AuthException
this implementation does not depend on authContextID- Specified by:
getModules
in classBaseAuthContextImpl
- Type Parameters:
M
-- Parameters:
template
-authContextID
- (ignored by this context system)- Returns:
- Throws:
jakarta.security.auth.message.AuthException
-
getInitProperties
public Map<String,?> getInitProperties(int i, Map<String,?> properties)
- Specified by:
getInitProperties
in classBaseAuthContextImpl
- Returns:
-
exitContext
public boolean exitContext(jakarta.security.auth.message.AuthStatus[] successValue, int i, jakarta.security.auth.message.AuthStatus moduleStatus)
- Specified by:
exitContext
in 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:
getReturnStatus
in classBaseAuthContextImpl
- Returns:
-
-