|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.ext.FreeIPAAuthenticationResponseHandler
public class FreeIPAAuthenticationResponseHandler
Attempts to parse the authentication response and set the account state
using data associated with FreeIPA. The Authenticator should be configured to return
'krbPasswordExpiration', 'krbLoginFailedCount' and 'krbLastPwdChange'
attributes so they can be consumed by this handler.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
FreeIPAAuthenticationResponseHandler()
Default constructor. |
|
FreeIPAAuthenticationResponseHandler(int warning,
int passwordAge,
int loginFailures)
Creates a new freeipa authentication response handler. |
|
FreeIPAAuthenticationResponseHandler(String warning,
String passwordAge,
int loginFailures)
Creates a new freeipa authentication response handler. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
void |
handle(AuthenticationResponse response)
Handle the response from an ldap authentication. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public FreeIPAAuthenticationResponseHandler()
public FreeIPAAuthenticationResponseHandler(int warning,
int passwordAge,
int loginFailures)
warning - length of time before expiration that should produce a
warningpasswordAge - length of time in days that a password is validloginFailures - number of login failures to allow
public FreeIPAAuthenticationResponseHandler(String warning,
String passwordAge,
int loginFailures)
warning - length of time before expiration that should produce a
warningpasswordAge - length of time in days that a password is validloginFailures - number of login failures to allow| Method Detail |
|---|
public void handle(AuthenticationResponse response)
AuthenticationResponseHandler
handle in interface AuthenticationResponseHandlerresponse - produced from an authenticationpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||