Package org.eclipse.jetty.security
Class WrappedAuthConfiguration
java.lang.Object
org.eclipse.jetty.security.WrappedAuthConfiguration
- All Implemented Interfaces:
Authenticator.AuthConfiguration
- Direct Known Subclasses:
OpenIdAuthConfiguration
A wrapper for
Authenticator.AuthConfiguration
. This allows you create a new AuthConfiguration which can
override a method to change a value from an another instance of AuthConfiguration.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInitParameter
(String param) Get a SecurityHandler init parameterGet a SecurityHandler init parameter namesint
Get the interval in seconds, which if non-zero, will be set withHttpSession.setMaxInactiveInterval(int)
when a session is newly authenticatedboolean
Should session ID be renewed on authentication.
-
Constructor Details
-
WrappedAuthConfiguration
-
-
Method Details
-
getAuthMethod
- Specified by:
getAuthMethod
in interfaceAuthenticator.AuthConfiguration
-
getRealmName
- Specified by:
getRealmName
in interfaceAuthenticator.AuthConfiguration
-
getInitParameter
Description copied from interface:Authenticator.AuthConfiguration
Get a SecurityHandler init parameter- Specified by:
getInitParameter
in interfaceAuthenticator.AuthConfiguration
- Parameters:
param
- parameter name- Returns:
- Parameter value or null
- See Also:
-
getInitParameterNames
Description copied from interface:Authenticator.AuthConfiguration
Get a SecurityHandler init parameter names- Specified by:
getInitParameterNames
in interfaceAuthenticator.AuthConfiguration
- Returns:
- Set of parameter names
- See Also:
-
getLoginService
- Specified by:
getLoginService
in interfaceAuthenticator.AuthConfiguration
-
getIdentityService
- Specified by:
getIdentityService
in interfaceAuthenticator.AuthConfiguration
-
isSessionRenewedOnAuthentication
public boolean isSessionRenewedOnAuthentication()Description copied from interface:Authenticator.AuthConfiguration
Should session ID be renewed on authentication.- Specified by:
isSessionRenewedOnAuthentication
in interfaceAuthenticator.AuthConfiguration
- Returns:
- true if the session ID should be renewed on authentication
-
getSessionMaxInactiveIntervalOnAuthentication
public int getSessionMaxInactiveIntervalOnAuthentication()Description copied from interface:Authenticator.AuthConfiguration
Get the interval in seconds, which if non-zero, will be set withHttpSession.setMaxInactiveInterval(int)
when a session is newly authenticated- Specified by:
getSessionMaxInactiveIntervalOnAuthentication
in interfaceAuthenticator.AuthConfiguration
- 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.
-