Package org.eclipse.jetty.security
Interface Authenticator.AuthConfiguration
- All Known Implementing Classes:
ConstraintSecurityHandler
,OpenIdAuthConfiguration
,SecurityHandler
,WrappedAuthConfiguration
- Enclosing interface:
- Authenticator
public static interface Authenticator.AuthConfiguration
Authenticator Configuration
-
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.
-
Method Details
-
getAuthMethod
String getAuthMethod() -
getRealmName
String getRealmName() -
getInitParameter
Get a SecurityHandler init parameter- Parameters:
param
- parameter name- Returns:
- Parameter value or null
- See Also:
-
getInitParameterNames
Get a SecurityHandler init parameter names- Returns:
- Set of parameter names
- See Also:
-
getLoginService
LoginService getLoginService() -
getIdentityService
IdentityService getIdentityService() -
isSessionRenewedOnAuthentication
boolean isSessionRenewedOnAuthentication()Should session ID be renewed on authentication.- Returns:
- true if the session ID should be renewed on authentication
-
getSessionMaxInactiveIntervalOnAuthentication
int getSessionMaxInactiveIntervalOnAuthentication()Get the interval in seconds, which if non-zero, will be set withHttpSession.setMaxInactiveInterval(int)
when a session is newly authenticated- 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.
-