com.basecmp.core.util
Class RequiresLoginLoginConstraint
java.lang.Object
com.basecmp.core.util.LoginConstraint
com.basecmp.core.util.RequiresLoginLoginConstraint
- public class RequiresLoginLoginConstraint
- extends LoginConstraint
Forces a login whenever the filter's mapping applies and the remoteuser is
not yet logged in.
If this constraint is used it should be configured as the last constraint in
the chain of constraints. If this constraint is not configured and all other
constraint-checks are ok NO LOGIN IS FORCED AT ALL! This behaviour might
become useful for example if an intranet should be used internally without
any login but require a login if the remote-ip is from outside.
Created on 08.01.2007
- Author:
- Wolfgang Schröder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequiresLoginLoginConstraint
public RequiresLoginLoginConstraint()
checkConstraint
public int checkConstraint(ServletRequest request)
- Specified by:
checkConstraint in class LoginConstraint
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init in class LoginConstraint
- Throws:
ServletException
printConfig
public java.lang.String printConfig()
- Specified by:
printConfig in class LoginConstraint
Copyright © 2004 by basecmp® - Professional Web Solutions