|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AuthenticationCriteria
public class AuthenticationCriteria
Contains the properties used to perform authentication.
| Constructor Summary | |
|---|---|
AuthenticationCriteria()
Default constructor. |
|
AuthenticationCriteria(String dn)
Creates a new authentication criteria. |
|
AuthenticationCriteria(String dn,
AuthenticationRequest request)
Creates a new authentication criteria. |
|
| Method Summary | |
|---|---|
AuthenticationRequest |
getAuthenticationRequest()
Returns the authentication request. |
Credential |
getCredential()
Returns the credential. |
String |
getDn()
Returns the dn. |
void |
setAuthenticationRequest(AuthenticationRequest request)
Sets the authentication request. |
void |
setCredential(Credential c)
Deprecated. use setAuthenticationRequest(AuthenticationRequest)
instead |
void |
setDn(String dn)
Sets the dn. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationCriteria()
public AuthenticationCriteria(String dn)
dn - to authenticate
public AuthenticationCriteria(String dn,
AuthenticationRequest request)
dn - to authenticaterequest - that initiated the authentication| Method Detail |
|---|
public String getDn()
public void setDn(String dn)
dn - to set dnpublic Credential getCredential()
@Deprecated public void setCredential(Credential c)
setAuthenticationRequest(AuthenticationRequest)
instead
c - to set credentialpublic AuthenticationRequest getAuthenticationRequest()
public void setAuthenticationRequest(AuthenticationRequest request)
request - to set authentication requestpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||