|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl
public class PortalAuthenticationConfigurationImpl
PasswordCredentialValve
Field Summary | |
---|---|
protected boolean |
createNewSessionOnLogin
|
protected int |
maxSessionHardLimit
|
protected long |
msMaxSessionHardLimit
|
protected java.lang.String |
timeoutRedirectLocation
|
Constructor Summary | |
---|---|
PortalAuthenticationConfigurationImpl(boolean createNewSessionOnLogin,
int maxSessionHardLimit,
java.lang.String timeoutRedirectLocation)
Portal Authentication Configuration stored and accessed from this bean |
Method Summary | |
---|---|
int |
getMaxSessionHardLimit()
hard session timeout limit in seconds, regardless of (in)activity |
long |
getMsMaxSessionHardLimit()
Get the session hard limit in milliseconds |
java.lang.String |
getTimeoutRedirectLocation()
redirect location for hard session expiration, must be used with Max Session Hard Limit turned on |
boolean |
isCreateNewSessionOnLogin()
Should we create new session upon authentication |
boolean |
isMaxSessionHardLimitEnabled()
Is the session hard limit expiration feature enabled |
void |
setCreateNewSessionOnLogin(boolean createNewSessionOnLogin)
|
void |
setMaxSessionHardLimit(int maxSessionHardLimit)
|
void |
setMsMaxSessionHardLimit(long msMaxSessionHardLimit)
|
void |
setTimeoutRedirectLocation(java.lang.String timeoutRedirectLocation)
redirect location for hard session expiration, must be used with Max Session Hard Limit turned on |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean createNewSessionOnLogin
protected int maxSessionHardLimit
protected long msMaxSessionHardLimit
protected java.lang.String timeoutRedirectLocation
Constructor Detail |
---|
public PortalAuthenticationConfigurationImpl(boolean createNewSessionOnLogin, int maxSessionHardLimit, java.lang.String timeoutRedirectLocation)
createNewSessionOnLogin
- Should a new session be created upon logging on to the systemmaxSessionHardLimit
- The maximum session hard limit, ignores user activity, set to zero to turn off this featuretimeoutRedirectLocation
- Path to redirection upon logging out user on session limit experiation, only used with maxSessionHardLimitMethod Detail |
---|
public boolean isMaxSessionHardLimitEnabled()
PortalAuthenticationConfiguration
isMaxSessionHardLimitEnabled
in interface PortalAuthenticationConfiguration
public int getMaxSessionHardLimit()
PortalAuthenticationConfiguration
getMaxSessionHardLimit
in interface PortalAuthenticationConfiguration
public void setMaxSessionHardLimit(int maxSessionHardLimit)
public long getMsMaxSessionHardLimit()
PortalAuthenticationConfiguration
getMsMaxSessionHardLimit
in interface PortalAuthenticationConfiguration
public void setMsMaxSessionHardLimit(long msMaxSessionHardLimit)
public java.lang.String getTimeoutRedirectLocation()
PortalAuthenticationConfiguration
getTimeoutRedirectLocation
in interface PortalAuthenticationConfiguration
public void setTimeoutRedirectLocation(java.lang.String timeoutRedirectLocation)
PortalAuthenticationConfiguration
setTimeoutRedirectLocation
in interface PortalAuthenticationConfiguration
public boolean isCreateNewSessionOnLogin()
PortalAuthenticationConfiguration
isCreateNewSessionOnLogin
in interface PortalAuthenticationConfiguration
public void setCreateNewSessionOnLogin(boolean createNewSessionOnLogin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |