Package com.sun.jaspic.services
Class JaspicServices
- java.lang.Object
-
- com.sun.jaspic.services.JaspicServices
-
- Direct Known Subclasses:
PayaraJaspicServices
public abstract class JaspicServices extends Object
This is based Helper class for 196 Configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringappCtxtprotected CallbackHandlercallbackHandlerprotected static jakarta.security.auth.message.config.AuthConfigFactoryfactoryprotected Stringlayerprotected AuthConfigRegistrationWrapperlistenerWrapperprotected Map<String,Object>map
-
Constructor Summary
Constructors Constructor Description JaspicServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable()StringgetAppContextID()protected jakarta.security.auth.message.config.AuthConfiggetAuthConfig(boolean isServer)protected jakarta.security.auth.message.config.AuthConfiggetAuthConfig(jakarta.security.auth.message.config.AuthConfigProvider authConfigProvider, boolean isServer)protected CallbackHandlergetCallbackHandler()Get the callback default handlerjakarta.security.auth.message.config.ClientAuthConfiggetClientAuthConfig()jakarta.security.auth.message.config.ClientAuthContextgetClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject clientSubject)ObjectgetProperty(String key)AuthConfigRegistrationWrapper.AuthConfigRegistrationListenergetRegistrationListener()AuthConfigRegistrationWrappergetRegistrationWrapper()jakarta.security.auth.message.config.ServerAuthConfiggetServerAuthConfig()jakarta.security.auth.message.config.ServerAuthContextgetServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject serviceSubject)protected booleanhasExactMatchAuthProvider()Check if there is a provider register for a given layer and appCtxt.protected voidinit(String layer, String appContext, Map<String,Object> map, CallbackHandler callbackHandler, RegistrationWrapperRemover removerDelegate)voidsetRegistrationId(String registrationId)voidsetRegistrationWrapper(AuthConfigRegistrationWrapper wrapper)
-
-
-
Field Detail
-
factory
protected static final jakarta.security.auth.message.config.AuthConfigFactory factory
-
layer
protected String layer
-
appCtxt
protected String appCtxt
-
callbackHandler
protected CallbackHandler callbackHandler
-
listenerWrapper
protected AuthConfigRegistrationWrapper listenerWrapper
-
-
Method Detail
-
init
protected void init(String layer, String appContext, Map<String,Object> map, CallbackHandler callbackHandler, RegistrationWrapperRemover removerDelegate)
-
setRegistrationId
public void setRegistrationId(String registrationId)
-
getRegistrationWrapper
public AuthConfigRegistrationWrapper getRegistrationWrapper()
-
setRegistrationWrapper
public void setRegistrationWrapper(AuthConfigRegistrationWrapper wrapper)
-
getRegistrationListener
public AuthConfigRegistrationWrapper.AuthConfigRegistrationListener getRegistrationListener()
-
disable
public void disable()
-
getAppContextID
public String getAppContextID()
-
getClientAuthConfig
public jakarta.security.auth.message.config.ClientAuthConfig getClientAuthConfig() throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getServerAuthConfig
public jakarta.security.auth.message.config.ServerAuthConfig getServerAuthConfig() throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getClientAuthContext
public jakarta.security.auth.message.config.ClientAuthContext getClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject clientSubject) throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getServerAuthContext
public jakarta.security.auth.message.config.ServerAuthContext getServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject serviceSubject) throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getAuthConfig
protected jakarta.security.auth.message.config.AuthConfig getAuthConfig(jakarta.security.auth.message.config.AuthConfigProvider authConfigProvider, boolean isServer) throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getAuthConfig
protected jakarta.security.auth.message.config.AuthConfig getAuthConfig(boolean isServer) throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
hasExactMatchAuthProvider
protected boolean hasExactMatchAuthProvider()
Check if there is a provider register for a given layer and appCtxt.
-
getCallbackHandler
protected CallbackHandler getCallbackHandler()
Get the callback default handler
-
-