org.apache.jetspeed.administration
Class PortalAuthenticationConfigurationImpl

java.lang.Object
  extended by org.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl
All Implemented Interfaces:
PortalAuthenticationConfiguration

public class PortalAuthenticationConfigurationImpl
extends java.lang.Object
implements PortalAuthenticationConfiguration

PasswordCredentialValve

Version:
$Id: $
Author:
David Sean Taylor

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

createNewSessionOnLogin

protected boolean createNewSessionOnLogin

maxSessionHardLimit

protected int maxSessionHardLimit

msMaxSessionHardLimit

protected long msMaxSessionHardLimit

timeoutRedirectLocation

protected java.lang.String timeoutRedirectLocation
Constructor Detail

PortalAuthenticationConfigurationImpl

public PortalAuthenticationConfigurationImpl(boolean createNewSessionOnLogin,
                                             int maxSessionHardLimit,
                                             java.lang.String timeoutRedirectLocation)
Portal Authentication Configuration stored and accessed from this bean

Parameters:
createNewSessionOnLogin - Should a new session be created upon logging on to the system
maxSessionHardLimit - The maximum session hard limit, ignores user activity, set to zero to turn off this feature
timeoutRedirectLocation - Path to redirection upon logging out user on session limit experiation, only used with maxSessionHardLimit
Method Detail

isMaxSessionHardLimitEnabled

public boolean isMaxSessionHardLimitEnabled()
Description copied from interface: PortalAuthenticationConfiguration
Is the session hard limit expiration feature enabled

Specified by:
isMaxSessionHardLimitEnabled in interface PortalAuthenticationConfiguration
Returns:

getMaxSessionHardLimit

public int getMaxSessionHardLimit()
Description copied from interface: PortalAuthenticationConfiguration
hard session timeout limit in seconds, regardless of (in)activity

Specified by:
getMaxSessionHardLimit in interface PortalAuthenticationConfiguration
Returns:

setMaxSessionHardLimit

public void setMaxSessionHardLimit(int maxSessionHardLimit)

getMsMaxSessionHardLimit

public long getMsMaxSessionHardLimit()
Description copied from interface: PortalAuthenticationConfiguration
Get the session hard limit in milliseconds

Specified by:
getMsMaxSessionHardLimit in interface PortalAuthenticationConfiguration
Returns:
session hard limit in milliseconds

setMsMaxSessionHardLimit

public void setMsMaxSessionHardLimit(long msMaxSessionHardLimit)

getTimeoutRedirectLocation

public java.lang.String getTimeoutRedirectLocation()
Description copied from interface: PortalAuthenticationConfiguration
redirect location for hard session expiration, must be used with Max Session Hard Limit turned on

Specified by:
getTimeoutRedirectLocation in interface PortalAuthenticationConfiguration
Returns:

setTimeoutRedirectLocation

public void setTimeoutRedirectLocation(java.lang.String timeoutRedirectLocation)
Description copied from interface: PortalAuthenticationConfiguration
redirect location for hard session expiration, must be used with Max Session Hard Limit turned on

Specified by:
setTimeoutRedirectLocation in interface PortalAuthenticationConfiguration

isCreateNewSessionOnLogin

public boolean isCreateNewSessionOnLogin()
Description copied from interface: PortalAuthenticationConfiguration
Should we create new session upon authentication

Specified by:
isCreateNewSessionOnLogin in interface PortalAuthenticationConfiguration
Returns:

setCreateNewSessionOnLogin

public void setCreateNewSessionOnLogin(boolean createNewSessionOnLogin)


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.