|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.pipeline.valve.AbstractValve org.apache.jetspeed.security.impl.LoginValidationValveImpl
public class LoginValidationValveImpl
LoginValidationValve
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
|
private int |
maxNumberOfAuthenticationFailures
|
private List |
sessionAttributes
|
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,
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(List sessionAttributes)
Creates a LoginValidationValveImpl instance which doesn't evaluate the maxNumberOfAuthenticationFailures for LoginConstant.ERROR_FINAL_LOGIN_ATTEMPT error reporting. |
Method Summary | |
---|---|
private void |
clearSessionAttributes(org.apache.jetspeed.request.RequestContext request)
|
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
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 |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private int maxNumberOfAuthenticationFailures
private List sessionAttributes
Constructor Detail |
---|
public LoginValidationValveImpl(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, 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(org.apache.jetspeed.request.RequestContext request, org.apache.jetspeed.pipeline.valve.ValveContext context) throws org.apache.jetspeed.pipeline.PipelineException
invoke
in interface org.apache.jetspeed.pipeline.valve.Valve
invoke
in class AbstractValve
org.apache.jetspeed.pipeline.PipelineException
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)
private void clearSessionAttributes(org.apache.jetspeed.request.RequestContext request)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |