Package org.eclipse.jetty.security
Class Authenticator.Configuration.Wrapper
java.lang.Object
org.eclipse.jetty.security.Authenticator.Configuration.Wrapper
- All Implemented Interfaces:
Authenticator.Configuration
- Direct Known Subclasses:
OpenIdAuthenticatorConfiguration
- Enclosing interface:
- Authenticator.Configuration
public static class Authenticator.Configuration.Wrapper
extends Object
implements Authenticator.Configuration
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.security.Authenticator.Configuration
Authenticator.Configuration.Wrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParameter
(String param) Get a SecurityHandler init parameterGet a SecurityHandler init parameter namesint
Get the interval in seconds, which if non-zero, will be set withSession.setMaxInactiveInterval(int)
when a session is newly authenticatedboolean
Should session ID be renewed on authentication.
-
Constructor Details
-
Wrapper
-
-
Method Details
-
getAuthenticationType
- Specified by:
getAuthenticationType
in interfaceAuthenticator.Configuration
-
getRealmName
- Specified by:
getRealmName
in interfaceAuthenticator.Configuration
-
getParameter
Description copied from interface:Authenticator.Configuration
Get a SecurityHandler init parameter- Specified by:
getParameter
in interfaceAuthenticator.Configuration
- Parameters:
param
- parameter name- Returns:
- Parameter value or null
-
getParameterNames
Description copied from interface:Authenticator.Configuration
Get a SecurityHandler init parameter names- Specified by:
getParameterNames
in interfaceAuthenticator.Configuration
- Returns:
- Set of parameter names
-
getLoginService
- Specified by:
getLoginService
in interfaceAuthenticator.Configuration
-
getIdentityService
- Specified by:
getIdentityService
in interfaceAuthenticator.Configuration
-
isSessionRenewedOnAuthentication
public boolean isSessionRenewedOnAuthentication()Description copied from interface:Authenticator.Configuration
Should session ID be renewed on authentication.- Specified by:
isSessionRenewedOnAuthentication
in interfaceAuthenticator.Configuration
- Returns:
- true if the session ID should be renewed on authentication
-
getSessionMaxInactiveIntervalOnAuthentication
public int getSessionMaxInactiveIntervalOnAuthentication()Description copied from interface:Authenticator.Configuration
Get the interval in seconds, which if non-zero, will be set withSession.setMaxInactiveInterval(int)
when a session is newly authenticated- Specified by:
getSessionMaxInactiveIntervalOnAuthentication
in interfaceAuthenticator.Configuration
- Returns:
- An interval in seconds; or 0 to not set the interval on authentication; or a negative number to make the session never timeout after authentication.
-