|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.security.Challenger
public class Challenger
The Challenger class helps bridge the non-remote JAAS callback classes with the remote PFS versions of the callbacks. This allows clients to handle the standard callbacks, but still work across a a remote interface. A class which implements the javax.security.auth.callback.CallbackHandler interface instantiates a new Challenger passing a pointer to itself as a parameter (typically), then passes the new Challenger instance to UserService.setChallengeCallbackHandler().
Constructor Summary | |
---|---|
Challenger(javax.security.auth.callback.CallbackHandler localHandler)
Construct a new Challenger with a local callback handler. |
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handle a callback request. |
Constructor Detail |
---|
public Challenger(javax.security.auth.callback.CallbackHandler localHandler) throws java.rmi.RemoteException
localHandler
- Local callback handler for the challenge.
java.rmi.RemoteException
- if a network anomaly is encountered.Method Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException, java.rmi.RemoteException
handle
in interface RemoteCallbackHandler
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- An array of Callback items to process.
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
java.rmi.RemoteException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |