|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.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. |
|
SimpleHandler(java.lang.String sName, java.lang.String sPassword, 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 passwordpublic SimpleHandler(java.lang.String sName, java.lang.String sPassword, boolean fDispose)
sName
- the user namesPassword
- the passwordfDispose
- true if the password should be disposed as soon as the PasswordCallback has been servedpublic 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 servedMethod Detail |
---|
public void handle(javax.security.auth.callback.Callback[] aCallback) throws javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
aCallback
- 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.Principal
o
- principal to compare withpublic java.lang.String toString()
toString
in interface java.security.Principal
public int hashCode()
hashCode
in interface java.security.Principal
public java.lang.String getName()
getName
in interface java.security.Principal
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |