|
||||||||||
| 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 java.lang.String |
ENCRYPTION_KEY
|
static java.lang.String |
ENCRYPTION_LS_MD5
This is LibreSource variant of encoding MD5 sum. |
static java.lang.String |
ENCRYPTION_MD5
|
static java.lang.String |
ENCRYPTION_PLAIN
|
static java.lang.String |
ENCRYPTION_SHA
|
| Constructor Summary | |
|---|---|
|
SaslPLAIN()
Creates a new SaslPLAIN instance. |
protected |
SaslPLAIN(java.util.Map<? super java.lang.String,?> props,
javax.security.auth.callback.CallbackHandler callbackHandler)
|
| Method Summary | |
|---|---|
void |
dispose()
Describe dispose method here. |
byte[] |
evaluateResponse(byte[] byteArray)
Describe evaluateResponse method here. |
java.lang.String |
getAuthorizationID()
Describe getAuthorizationID method here. |
java.lang.String |
getMechanismName()
Describe getMechanismName method here. |
java.lang.Object |
getNegotiatedProperty(java.lang.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 java.lang.String ENCRYPTION_KEY
public static final java.lang.String ENCRYPTION_PLAIN
public static final java.lang.String ENCRYPTION_MD5
public static final java.lang.String ENCRYPTION_LS_MD5
StringBuilder sb = new StringBuilder();
for (byte b: md5) {
sb.append(Integer.toHexString(b));
}
public static final java.lang.String ENCRYPTION_SHA
| Constructor Detail |
|---|
public SaslPLAIN()
SaslPLAIN instance.
protected SaslPLAIN(java.util.Map<? super java.lang.String,?> props,
javax.security.auth.callback.CallbackHandler callbackHandler)
| Method Detail |
|---|
public byte[] unwrap(byte[] byteArray,
int n,
int n1)
throws javax.security.sasl.SaslException
unwrap method here.
unwrap in interface javax.security.sasl.SaslServerbyteArray - a byte[] valuen - an int valuen1 - an int value
byte[] value
javax.security.sasl.SaslException - if an error occurs
public byte[] evaluateResponse(byte[] byteArray)
throws javax.security.sasl.SaslException
evaluateResponse method here.
evaluateResponse in interface javax.security.sasl.SaslServerbyteArray - a byte[] value
byte[] value
javax.security.sasl.SaslException - if an error occurspublic java.lang.String getAuthorizationID()
getAuthorizationID method here.
getAuthorizationID in interface javax.security.sasl.SaslServerString valuepublic java.lang.String getMechanismName()
getMechanismName method here.
getMechanismName in interface javax.security.sasl.SaslServerString valuepublic java.lang.Object getNegotiatedProperty(java.lang.String string)
getNegotiatedProperty method here.
getNegotiatedProperty in interface javax.security.sasl.SaslServerstring - a String value
Object valuepublic boolean isComplete()
isComplete method here.
isComplete in interface javax.security.sasl.SaslServerboolean value
public byte[] wrap(byte[] byteArray,
int n,
int n1)
throws javax.security.sasl.SaslException
wrap method here.
wrap in interface javax.security.sasl.SaslServerbyteArray - a byte[] valuen - an int valuen1 - an int value
byte[] value
javax.security.sasl.SaslException - if an error occurs
public void dispose()
throws javax.security.sasl.SaslException
dispose method here.
dispose in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||