|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.net.security.SimpleHandler
public class SimpleHandler
The SimpleHandler class is a CallbackHandler implementation based on a specified user name and password.
| Constructor Summary | |
|---|---|
SimpleHandler(java.lang.String sName,
char[] acPassword)
Construct a SimpleHandler. |
|
SimpleHandler(java.lang.String sName,
char[] acPassword,
boolean fDispose)
Construct a SimpleHandler. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this principal to the specified object. |
java.lang.String |
getName()
Return the name of this principal. |
void |
handle(javax.security.auth.callback.Callback[] aCallback)
Invoke an array of Callbacks. |
int |
hashCode()
Return a hashcode for this principal. |
java.lang.String |
toString()
Return a string representation of this principal. |
| Constructor Detail |
|---|
public SimpleHandler(java.lang.String sName,
char[] acPassword)
sName - the user nameacPassword - the password
public SimpleHandler(java.lang.String sName,
char[] acPassword,
boolean fDispose)
sName - the user nameacPassword - the passwordfDispose - true if the password should be disposed as
soon as the PasswordCallback has been served| Method Detail |
|---|
public void handle(javax.security.auth.callback.Callback[] aCallback)
throws javax.security.auth.callback.UnsupportedCallbackException
handle in interface javax.security.auth.callback.CallbackHandleraCallback - an array of Callback objects which contains
the information requested by an underlying security
service to be retrieved or displayed.
javax.security.auth.callback.UnsupportedCallbackException - if the implementation of this
method does not support one or more of the Callbacks
specified in the callbacks parameter.public boolean equals(java.lang.Object o)
equals in interface java.security.Principalo - principal to compare with
public java.lang.String toString()
toString in interface java.security.Principalpublic int hashCode()
hashCode in interface java.security.Principalpublic java.lang.String getName()
getName in interface java.security.Principal
|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||