|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.directory.sdk.http.types.UsernamePasswordAuthenticationRequest
public class UsernamePasswordAuthenticationRequest
A AuthenticationRequest
implementation where the user's credentials is a simple password.
Constructor Summary | |
---|---|
UsernamePasswordAuthenticationRequest(java.lang.String principal,
java.lang.String credentials,
javax.servlet.http.HttpServletRequest httpServletRequest)
Constructs a new UsernamePasswordAuthenticationRequest with the provided information. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCredentials()
Retrieves the password credential provided by the user. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
The HttpServletRequest that initiated the authentication request. |
java.lang.String |
getPrincipal()
Retrieves the username provided by the user. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UsernamePasswordAuthenticationRequest(java.lang.String principal, java.lang.String credentials, javax.servlet.http.HttpServletRequest httpServletRequest)
principal
- The user resource to authentication against.credentials
- The password credential provided by the user.httpServletRequest
- The httpServletRequest that initiated the
authentication request.Method Detail |
---|
public java.lang.String getCredentials()
getCredentials
in interface AuthenticationRequest
public java.lang.String getPrincipal()
getPrincipal
in interface AuthenticationRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest
in interface AuthenticationRequest
null
if not available.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 |