Package org.eclipse.jetty.security.jaspi
Class DefaultAuthConfigFactory
java.lang.Object
javax.security.auth.message.config.AuthConfigFactory
org.eclipse.jetty.security.jaspi.DefaultAuthConfigFactory
public class DefaultAuthConfigFactory
extends javax.security.auth.message.config.AuthConfigFactory
A very basic
AuthConfigFactory
that allows for registering providers programmatically.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.security.auth.message.config.AuthConfigFactory
javax.security.auth.message.config.AuthConfigFactory.RegistrationContext
-
Field Summary
Fields inherited from class javax.security.auth.message.config.AuthConfigFactory
DEFAULT_FACTORY_SECURITY_PROPERTY, GET_FACTORY_PERMISSION_NAME, getFactorySecurityPermission, PROVIDER_REGISTRATION_PERMISSION_NAME, providerRegistrationSecurityPermission, SET_FACTORY_PERMISSION_NAME, setFactorySecurityPermission
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
detachListener
(javax.security.auth.message.config.RegistrationListener listener, String layer, String appContext) javax.security.auth.message.config.AuthConfigProvider
getConfigProvider
(String layer, String appContext, javax.security.auth.message.config.RegistrationListener listener) javax.security.auth.message.config.AuthConfigFactory.RegistrationContext
getRegistrationContext
(String registrationID) String[]
getRegistrationIDs
(javax.security.auth.message.config.AuthConfigProvider provider) void
refresh()
registerConfigProvider
(String className, Map properties, String layer, String appContext, String description) registerConfigProvider
(javax.security.auth.message.config.AuthConfigProvider provider, String layer, String appContext, String description) boolean
removeRegistration
(String registrationID) Methods inherited from class javax.security.auth.message.config.AuthConfigFactory
getFactory, setFactory
-
Constructor Details
-
DefaultAuthConfigFactory
public DefaultAuthConfigFactory()
-
-
Method Details
-
getConfigProvider
public javax.security.auth.message.config.AuthConfigProvider getConfigProvider(String layer, String appContext, javax.security.auth.message.config.RegistrationListener listener) - Specified by:
getConfigProvider
in classjavax.security.auth.message.config.AuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(String className, Map properties, String layer, String appContext, String description) - Specified by:
registerConfigProvider
in classjavax.security.auth.message.config.AuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(javax.security.auth.message.config.AuthConfigProvider provider, String layer, String appContext, String description) - Specified by:
registerConfigProvider
in classjavax.security.auth.message.config.AuthConfigFactory
-
removeRegistration
- Specified by:
removeRegistration
in classjavax.security.auth.message.config.AuthConfigFactory
-
detachListener
public String[] detachListener(javax.security.auth.message.config.RegistrationListener listener, String layer, String appContext) - Specified by:
detachListener
in classjavax.security.auth.message.config.AuthConfigFactory
-
getRegistrationIDs
- Specified by:
getRegistrationIDs
in classjavax.security.auth.message.config.AuthConfigFactory
-
getRegistrationContext
public javax.security.auth.message.config.AuthConfigFactory.RegistrationContext getRegistrationContext(String registrationID) - Specified by:
getRegistrationContext
in classjavax.security.auth.message.config.AuthConfigFactory
-
refresh
public void refresh()- Specified by:
refresh
in classjavax.security.auth.message.config.AuthConfigFactory
-