Class SimpleServerAuthConfig
java.lang.Object
org.apache.catalina.authenticator.jaspic.SimpleServerAuthConfig
- All Implemented Interfaces:
AuthConfig,ServerAuthConfig
Basic implementation primarily intended for use when using third-party
ServerAuthModule implementations that
only provide the module. This implementation supports configuring the ServerAuthContext with multiple
modules.-
Constructor Summary
ConstructorsConstructorDescriptionSimpleServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerAuthContextcreateServerAuthContext(List<ServerAuthModule> modules) getAuthContextID(MessageInfo messageInfo) booleanvoidrefresh()
-
Constructor Details
-
SimpleServerAuthConfig
-
-
Method Details
-
getMessageLayer
- Specified by:
getMessageLayerin interfaceAuthConfig
-
getAppContext
- Specified by:
getAppContextin interfaceAuthConfig
-
getAuthContextID
- Specified by:
getAuthContextIDin interfaceAuthConfig
-
refresh
public void refresh()- Specified by:
refreshin interfaceAuthConfig
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfaceAuthConfig
-
getAuthContext
public ServerAuthContext getAuthContext(String authContextID, Subject serviceSubject, Map<String, Object> properties) throws AuthException- Specified by:
getAuthContextin interfaceServerAuthConfig- Throws:
AuthException
-
createServerAuthContext
-