|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.jaas.ChallengeCallbackHandler
public class ChallengeCallbackHandler
JAAS callback handler that automatically provides the identifier and secret when asked by login modules.
| Constructor Summary | |
|---|---|
ChallengeCallbackHandler(Request request,
Response response)
Constructor. |
|
| Method Summary | |
|---|---|
Request |
getRequest()
Returns the handled request. |
Response |
getResponse()
Returns the handled response. |
protected void |
handle(Callback callback)
Handles a callback. |
void |
handle(Callback[] callbacks)
Handles the callbacks. |
void |
setRequest(Request request)
Sets the handled request. |
void |
setResponse(Response response)
Sets the handled response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChallengeCallbackHandler(Request request,
Response response)
request - The handled request.response - The handled response.| Method Detail |
|---|
public Request getRequest()
public Response getResponse()
protected void handle(Callback callback)
throws UnsupportedCallbackException
NameCallback instances
and the secret on PasswordCallback.
callback - The callback to handle.
UnsupportedCallbackException
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
handle(Callback) method.
handle in interface CallbackHandlercallbacks - The callbacks to handle.
IOException
UnsupportedCallbackExceptionpublic void setRequest(Request request)
request - The handled request.public void setResponse(Response response)
response - The handled response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||