public interface PortalAuthenticationConfiguration
Modifier and Type | Method and Description |
---|---|
int |
getMaxSessionHardLimit()
The max value in seconds for session invalidation.
|
long |
getMsMaxSessionHardLimit()
The max value in milliseconds for session invalidation.
|
String |
getTimeoutRedirectLocation()
A redirect URL location for hard session expiration,
must be used with Max Session Hard Limit turned on
isMaxSessionHardLimitEnabled()
This location is usually a logout-related URL |
boolean |
isCreateNewSessionOnLogin()
Retrieve portal configuration setting which determines whether to create new session upon authentication.
|
boolean |
isMaxSessionHardLimitEnabled()
Determine if the hard session timeout limit setting
getMaxSessionHardLimit() is turned on or not
in portal configuration. |
void |
setTimeoutRedirectLocation(String timeoutRedirectLocation)
Override the configured portal-relative redirect URL location for hard session expiration,
must be used with Max Session Hard Limit turned on
isMaxSessionHardLimitEnabled()
This location is usually a logout-related URL |
boolean isMaxSessionHardLimitEnabled()
getMaxSessionHardLimit()
is turned on or not
in portal configuration. Hard limits override the Servlet API inactivity-based session expiration
with hard limit expiration (ignores activity-based session invalidation)
This setting requires the isCreateNewSessionOnLogin()
setting being enabled.getMaxSessionHardLimit()
setting is enabledint getMaxSessionHardLimit()
isCreateNewSessionOnLogin()
setting being enabled.long getMsMaxSessionHardLimit()
isCreateNewSessionOnLogin()
setting being enabled.String getTimeoutRedirectLocation()
isMaxSessionHardLimitEnabled()
This location is usually a logout-related URLvoid setTimeoutRedirectLocation(String timeoutRedirectLocation)
isMaxSessionHardLimitEnabled()
This location is usually a logout-related URLtimeoutRedirectLocation
- the new timeout redirect URLboolean isCreateNewSessionOnLogin()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.