public class SimpleHandler extends Base implements CallbackHandler, Principal
Base.LoggingWriter, Base.StackFrame| Constructor and Description | 
|---|
SimpleHandler(String sName,
             char[] acPassword)
Construct a SimpleHandler. 
 | 
SimpleHandler(String sName,
             char[] acPassword,
             boolean fDispose)
Construct a SimpleHandler. 
 | 
SimpleHandler(String sName,
             String sPassword,
             boolean fDispose)
Construct a SimpleHandler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)
Compare this principal to the specified object. 
 | 
String | 
getName()
Return the name of this principal. 
 | 
void | 
handle(Callback[] aCallback)
Invoke an array of Callbacks. 
 | 
int | 
hashCode()
Return a hashcode for this principal. 
 | 
String | 
toString()
Return a string representation of this principal. 
 | 
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, waitpublic SimpleHandler(String sName, char[] acPassword)
sName - the user nameacPassword - the passwordpublic SimpleHandler(String sName, 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(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 servedpublic void handle(Callback[] aCallback) throws UnsupportedCallbackException
handle in interface CallbackHandleraCallback - an array of Callback objects which contains
                   the information requested by an underlying security
                   service to be retrieved or displayed.UnsupportedCallbackException - if the implementation of this
           method does not support one or more of the Callbacks
           specified in the callbacks parameter.public boolean equals(Object o)
public String toString()
public int hashCode()