|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.auth.SaslPLAIN
public class SaslPLAIN
Describe class SaslPLAIN here. Created: Mon Nov 6 09:02:31 2006
Field Summary | |
---|---|
static String |
ENCRYPTION_KEY
|
static String |
ENCRYPTION_LS_MD5
This is LibreSource variant of encoding MD5 sum. |
static String |
ENCRYPTION_MD5
|
static String |
ENCRYPTION_PLAIN
|
static String |
ENCRYPTION_SHA
|
Constructor Summary | |
---|---|
|
SaslPLAIN()
Creates a new SaslPLAIN instance. |
protected |
SaslPLAIN(Map<? super String,?> props,
CallbackHandler callbackHandler)
|
Method Summary | |
---|---|
void |
dispose()
Describe dispose method here. |
byte[] |
evaluateResponse(byte[] byteArray)
Describe evaluateResponse method here. |
String |
getAuthorizationID()
Describe getAuthorizationID method here. |
String |
getMechanismName()
Describe getMechanismName method here. |
Object |
getNegotiatedProperty(String string)
Describe getNegotiatedProperty method here. |
boolean |
isComplete()
Describe isComplete method here. |
byte[] |
unwrap(byte[] byteArray,
int n,
int n1)
Describe unwrap method here. |
byte[] |
wrap(byte[] byteArray,
int n,
int n1)
Describe wrap method here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENCRYPTION_KEY
public static final String ENCRYPTION_PLAIN
public static final String ENCRYPTION_MD5
public static final String ENCRYPTION_LS_MD5
StringBuilder sb = new StringBuilder(); for (byte b: md5) { sb.append(Integer.toHexString(b)); }
public static final String ENCRYPTION_SHA
Constructor Detail |
---|
public SaslPLAIN()
SaslPLAIN
instance.
protected SaslPLAIN(Map<? super String,?> props, CallbackHandler callbackHandler)
Method Detail |
---|
public byte[] unwrap(byte[] byteArray, int n, int n1) throws SaslException
unwrap
method here.
unwrap
in interface SaslServer
byteArray
- a byte[]
valuen
- an int
valuen1
- an int
value
byte[]
value
SaslException
- if an error occurspublic byte[] evaluateResponse(byte[] byteArray) throws SaslException
evaluateResponse
method here.
evaluateResponse
in interface SaslServer
byteArray
- a byte[]
value
byte[]
value
SaslException
- if an error occurspublic String getAuthorizationID()
getAuthorizationID
method here.
getAuthorizationID
in interface SaslServer
String
valuepublic String getMechanismName()
getMechanismName
method here.
getMechanismName
in interface SaslServer
String
valuepublic Object getNegotiatedProperty(String string)
getNegotiatedProperty
method here.
getNegotiatedProperty
in interface SaslServer
string
- a String
value
Object
valuepublic boolean isComplete()
isComplete
method here.
isComplete
in interface SaslServer
boolean
valuepublic byte[] wrap(byte[] byteArray, int n, int n1) throws SaslException
wrap
method here.
wrap
in interface SaslServer
byteArray
- a byte[]
valuen
- an int
valuen1
- an int
value
byte[]
value
SaslException
- if an error occurspublic void dispose() throws SaslException
dispose
method here.
dispose
in interface SaslServer
SaslException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |