org.apache.jetspeed.administration
Class PortalAuthenticationConfigurationImpl

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

public class PortalAuthenticationConfigurationImpl
extends Object
implements org.apache.jetspeed.administration.PortalAuthenticationConfiguration

PasswordCredentialValve

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
protected  boolean createNewSessionOnLogin
           
protected  int maxSessionHardLimit
           
protected  long msMaxSessionHardLimit
           
protected  String timeoutRedirectLocation
           
 
Constructor Summary
PortalAuthenticationConfigurationImpl(boolean createNewSessionOnLogin, int maxSessionHardLimit, String timeoutRedirectLocation)
          Portal Authentication Configuration stored and accessed from this bean
 
Method Summary
 int getMaxSessionHardLimit()
           
 long getMsMaxSessionHardLimit()
           
 String getTimeoutRedirectLocation()
           
 boolean isCreateNewSessionOnLogin()
           
 boolean isMaxSessionHardLimitEnabled()
           
 void setCreateNewSessionOnLogin(boolean createNewSessionOnLogin)
           
 void setMaxSessionHardLimit(int maxSessionHardLimit)
           
 void setMsMaxSessionHardLimit(long msMaxSessionHardLimit)
           
 void setTimeoutRedirectLocation(String timeoutRedirectLocation)
           
 
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 String timeoutRedirectLocation
Constructor Detail

PortalAuthenticationConfigurationImpl

public PortalAuthenticationConfigurationImpl(boolean createNewSessionOnLogin,
                                             int maxSessionHardLimit,
                                             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()
Specified by:
isMaxSessionHardLimitEnabled in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

getMaxSessionHardLimit

public int getMaxSessionHardLimit()
Specified by:
getMaxSessionHardLimit in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

setMaxSessionHardLimit

public void setMaxSessionHardLimit(int maxSessionHardLimit)

getMsMaxSessionHardLimit

public long getMsMaxSessionHardLimit()
Specified by:
getMsMaxSessionHardLimit in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

setMsMaxSessionHardLimit

public void setMsMaxSessionHardLimit(long msMaxSessionHardLimit)

getTimeoutRedirectLocation

public String getTimeoutRedirectLocation()
Specified by:
getTimeoutRedirectLocation in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

setTimeoutRedirectLocation

public void setTimeoutRedirectLocation(String timeoutRedirectLocation)
Specified by:
setTimeoutRedirectLocation in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

isCreateNewSessionOnLogin

public boolean isCreateNewSessionOnLogin()
Specified by:
isCreateNewSessionOnLogin in interface org.apache.jetspeed.administration.PortalAuthenticationConfiguration

setCreateNewSessionOnLogin

public void setCreateNewSessionOnLogin(boolean createNewSessionOnLogin)


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