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
ConstructorDescriptionSimpleServerAuthConfig
(String layer, String appContext, CallbackHandler handler, Map<String, String> properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerAuthContext
createServerAuthContext
(List<ServerAuthModule> modules) getAuthContext
(String authContextID, Subject serviceSubject, Map properties) getAuthContextID
(MessageInfo messageInfo) boolean
void
refresh()
-
Constructor Details
-
SimpleServerAuthConfig
-
-
Method Details
-
getMessageLayer
- Specified by:
getMessageLayer
in interfaceAuthConfig
-
getAppContext
- Specified by:
getAppContext
in interfaceAuthConfig
-
getAuthContextID
- Specified by:
getAuthContextID
in interfaceAuthConfig
-
refresh
public void refresh()- Specified by:
refresh
in interfaceAuthConfig
-
isProtected
public boolean isProtected()- Specified by:
isProtected
in interfaceAuthConfig
-
getAuthContext
public ServerAuthContext getAuthContext(String authContextID, Subject serviceSubject, Map properties) throws AuthException - Specified by:
getAuthContext
in interfaceServerAuthConfig
- Throws:
AuthException
-
createServerAuthContext
-