|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.http.rest.SecurityManagerVerifier
public class SecurityManagerVerifier
The SecurityManagerVerifier uses the security mangaer of an application to authenticate a user.
| Field Summary |
|---|
| Fields inherited from interface org.restlet.security.Verifier |
|---|
RESULT_INVALID, RESULT_MISSING, RESULT_STALE, RESULT_UNKNOWN, RESULT_UNSUPPORTED, RESULT_VALID |
| Constructor Summary | |
|---|---|
SecurityManagerVerifier(RESTAdapter pAdapter)
Creates a new instance of SecurityManagerVerifier. |
|
SecurityManagerVerifier(RESTAdapter pAdapter,
boolean pIgnoreChallengeResponse)
Creates a new instance of SecurityManagerVerifier. |
|
| Method Summary | |
|---|---|
protected String |
getIdentifier(org.restlet.Request pRequest,
org.restlet.Response pResponse)
Returns the user identifier. |
protected String |
getSecret(org.restlet.Request pRequest,
org.restlet.Response pResponse)
Returns the secret provided by the user. |
int |
verify(org.restlet.Request pRequest,
org.restlet.Response pResponse)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityManagerVerifier(RESTAdapter pAdapter)
SecurityManagerVerifier.
pAdapter - the application/REST adapter
public SecurityManagerVerifier(RESTAdapter pAdapter,
boolean pIgnoreChallengeResponse)
SecurityManagerVerifier.
pAdapter - the application/REST adapterpIgnoreChallengeResponse - whether the challenge response should be ignore for the verification| Method Detail |
|---|
public int verify(org.restlet.Request pRequest,
org.restlet.Response pResponse)
verify in interface org.restlet.security.Verifier
protected String getIdentifier(org.restlet.Request pRequest,
org.restlet.Response pResponse)
pRequest - The request to inspect.pResponse - The response to inspect.
null if not set.
protected String getSecret(org.restlet.Request pRequest,
org.restlet.Response pResponse)
pRequest - The request to inspect.pResponse - The response to inspect.
null if not set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||