|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.security.RemotePasswordCallback
public class RemotePasswordCallback
This is an instance of a PasswordCallback that's remoteable. This class can be used by clients, but typically, they will implement the javax.security.auth.callback.CallbackHandler interface and deal with the local versions of those callbacks, and use Challenger to convert to/from these remote versions.
Constructor Summary | |
---|---|
RemotePasswordCallback(java.lang.String prompt,
boolean isEchoOn)
Creates a new instance with a prompt string. |
Method Summary | |
---|---|
void |
ClearPassword()
Clears the password. |
char[] |
getPassword()
Gets the password. |
java.lang.String |
getPrompt()
Gets the prompt. |
boolean |
isEchoOn()
Determines whether or not echo is on. |
void |
setPassword(char[] password)
Sets the password. |
Constructor Detail |
---|
public RemotePasswordCallback(java.lang.String prompt, boolean isEchoOn) throws java.rmi.RemoteException
The remote object will be exported to the RMI system using the specified socket factories.
prompt
- The String to display when asking the user for their username.isEchoOn
- A boolean to instruct the application to echo input or not.
java.rmi.RemoteException
- in the event of remote object failure.Method Detail |
---|
public void ClearPassword()
ClearPassword
in interface RemotePasswordCallbackInterface
public char[] getPassword()
getPassword
in interface RemotePasswordCallbackInterface
public void setPassword(char[] password)
setPassword
in interface RemotePasswordCallbackInterface
password
- Passwordpublic java.lang.String getPrompt()
getPrompt
in interface RemotePasswordCallbackInterface
public boolean isEchoOn()
isEchoOn
in interface RemotePasswordCallbackInterface
true
if echo is on.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |