Class AuthenticationServiceFactory
- java.lang.Object
-
- org.glassfish.security.services.impl.ServiceFactory
-
- org.glassfish.security.services.impl.AuthenticationServiceFactory
-
- All Implemented Interfaces:
org.glassfish.hk2.api.Factory<AuthenticationService>
@Singleton public class AuthenticationServiceFactory extends ServiceFactory implements org.glassfish.hk2.api.Factory<AuthenticationService>
The factory of AuthenticationService instances used by the SecurityScopeContext.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationServiceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose(AuthenticationService instance)
static AuthenticationService
getAuthenticationServiceConfiguration(Domain domain)
Helper function to obtain the Authentication Service configuration from the Domain.AuthenticationService
provide()
-
Methods inherited from class org.glassfish.security.services.impl.ServiceFactory
getSecurityServiceConfiguration
-
-
-
-
Method Detail
-
provide
public AuthenticationService provide()
- Specified by:
provide
in interfaceorg.glassfish.hk2.api.Factory<AuthenticationService>
-
dispose
public void dispose(AuthenticationService instance)
- Specified by:
dispose
in interfaceorg.glassfish.hk2.api.Factory<AuthenticationService>
-
getAuthenticationServiceConfiguration
public static AuthenticationService getAuthenticationServiceConfiguration(Domain domain)
Helper function to obtain the Authentication Service configuration from the Domain.
-
-