|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.pipeline.valve.AbstractValve
org.apache.jetspeed.security.impl.LoginValidationValveImpl
public class LoginValidationValveImpl
LoginValidationValve
Constructor Summary | |
---|---|
LoginValidationValveImpl(int maxNumberOfAuthenticationFailures)
Creates a LoginValidationValveImpl instance which can evaluate PasswordCredential.getAuthenticationFailures()
to determine if a user only has one login attempt available before the maxNumberOfAuthenticationFailures parameter
value is reached and the credential will be disabled. |
|
LoginValidationValveImpl(int maxNumberOfAuthenticationFailures,
java.util.List sessionAttributes)
Creates a LoginValidationValveImpl instance which can evaluate PasswordCredential.getAuthenticationFailures()
to determine if a user only has one login attempt available before the maxNumberOfAuthenticationFailures parameter
value is reached and the credential will be disabled. |
|
LoginValidationValveImpl(java.util.List sessionAttributes)
Creates a LoginValidationValveImpl instance which doesn't evaluate the maxNumberOfAuthenticationFailures for LoginConstant.ERROR_FINAL_LOGIN_ATTEMPT error reporting. |
Method Summary | |
---|---|
void |
invoke(RequestContext request,
ValveContext context)
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.jetspeed.pipeline.valve.AbstractValve |
---|
initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve |
---|
initialize |
Constructor Detail |
---|
public LoginValidationValveImpl(java.util.List sessionAttributes)
public LoginValidationValveImpl(int maxNumberOfAuthenticationFailures)
Creates a LoginValidationValveImpl instance which can evaluate PasswordCredential.getAuthenticationFailures()
to determine if a user only has one login attempt available before the maxNumberOfAuthenticationFailures parameter
value is reached and the credential will be disabled.
The provided maxNumberOfAuthenticationFailures value should be equal to the value configured for the MaxPasswordAuthenticationFailuresInterceptor (and > 2 to be useful).
public LoginValidationValveImpl(int maxNumberOfAuthenticationFailures, java.util.List sessionAttributes)
Creates a LoginValidationValveImpl instance which can evaluate PasswordCredential.getAuthenticationFailures()
to determine if a user only has one login attempt available before the maxNumberOfAuthenticationFailures parameter
value is reached and the credential will be disabled.
The provided maxNumberOfAuthenticationFailures value should be equal to the value configured for the MaxPasswordAuthenticationFailuresInterceptor (and > 2 to be useful).
Method Detail |
---|
public void invoke(RequestContext request, ValveContext context) throws PipelineException
invoke
in interface Valve
invoke
in class AbstractValve
PipelineException
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |