javax.security.sasl
10 classes of the module java.security.sasl.
Load them with:
using {
"javax.security.sasl"
}
AuthorizeCallback#
class · extends Object · javax.security.sasl.AuthorizeCallback
Implements: Callback, Serializable
Constructors
new AuthorizeCallback(String authnID, String authzID) |
Ring: new AuthorizeCallback(args) uses the constructor with the fewest parameters (at least one); new AuthorizeCallback makes the object with the constructor without parameters; the others: (new AuthorizeCallback).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAuthenticationID | getAuthenticationID() | String getAuthenticationID() |
getAuthorizationID | getAuthorizationID() | String getAuthorizationID() |
getAuthorizedID | getAuthorizedID() | String getAuthorizedID() |
isAuthorized | isAuthorized() | boolean isAuthorized() |
setAuthorized | setAuthorized(ok) | void setAuthorized(boolean ok) |
setAuthorizedID | setAuthorizedID(id) | void setAuthorizedID(String id) |
The methods and fields of Object are inherited.
RealmCallback#
class · extends TextInputCallback · javax.security.sasl.RealmCallback
Constructors
new RealmCallback(String prompt) |
new RealmCallback(String prompt, String defaultRealmInfo) |
Ring: new RealmCallback(args) uses the constructor with the fewest parameters (at least one); new RealmCallback makes the object with the constructor without parameters; the others: (new RealmCallback).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextInputCallback are inherited.
RealmChoiceCallback#
class · extends ChoiceCallback · javax.security.sasl.RealmChoiceCallback
Constructors
new RealmChoiceCallback(String prompt, String[] choices, int defaultChoice, boolean multiple) |
Ring: new RealmChoiceCallback(args) uses the constructor with the fewest parameters (at least one); new RealmChoiceCallback makes the object with the constructor without parameters; the others: (new RealmChoiceCallback).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ChoiceCallback are inherited.
Sasl#
class · extends Object · javax.security.sasl.Sasl
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
QOP | String | constant · static | o.QOP |
STRENGTH | String | constant · static | o.STRENGTH |
SERVER_AUTH | String | constant · static | o.SERVER_AUTH |
BOUND_SERVER_NAME | String | constant · static | o.BOUND_SERVER_NAME |
MAX_BUFFER | String | constant · static | o.MAX_BUFFER |
RAW_SEND_SIZE | String | constant · static | o.RAW_SEND_SIZE |
REUSE | String | constant · static | o.REUSE |
POLICY_NOPLAINTEXT | String | constant · static | o.POLICY_NOPLAINTEXT |
POLICY_NOACTIVE | String | constant · static | o.POLICY_NOACTIVE |
POLICY_NODICTIONARY | String | constant · static | o.POLICY_NODICTIONARY |
POLICY_NOANONYMOUS | String | constant · static | o.POLICY_NOANONYMOUS |
POLICY_FORWARD_SECRECY | String | constant · static | o.POLICY_FORWARD_SECRECY |
POLICY_PASS_CREDENTIALS | String | constant · static | o.POLICY_PASS_CREDENTIALS |
CREDENTIALS | String | constant · static | o.CREDENTIALS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createSaslClient | createSaslClient(mechanisms,authorizationId,protocol,serverName,props,cbh) | static SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map props, CallbackHandler cbh) |
createSaslServer | createSaslServer(mechanism,protocol,serverName,props,cbh) | static SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh) |
getSaslClientFactories | getSaslClientFactories() | static Enumeration getSaslClientFactories() |
getSaslServerFactories | getSaslServerFactories() | static Enumeration getSaslServerFactories() |
The methods and fields of Object are inherited.
SaslAuthenticationException#
class · extends SaslException · javax.security.sasl.AuthenticationException
Constructors
new SaslAuthenticationException() |
new SaslAuthenticationException(String detail) |
new SaslAuthenticationException(String detail, Throwable ex) |
Ring: new SaslAuthenticationException(args) uses the constructor with the fewest parameters (at least one); new SaslAuthenticationException makes the object with the constructor without parameters; the others: (new SaslAuthenticationException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of SaslException are inherited.
SaslClient#
interface · javax.security.sasl.SaslClient
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dispose | dispose() | void dispose() |
evaluateChallenge | evaluateChallenge(challenge) | byte[] evaluateChallenge(byte[] challenge) |
getMechanismName | getMechanismName() | String getMechanismName() |
getNegotiatedProperty | getNegotiatedProperty(propName) | Object getNegotiatedProperty(String propName) |
hasInitialResponse | hasInitialResponse() | boolean hasInitialResponse() |
isComplete | isComplete() | boolean isComplete() |
unwrap | unwrap(incoming,offset,len) | byte[] unwrap(byte[] incoming, int offset, int len) |
wrap | wrap(outgoing,offset,len) | byte[] wrap(byte[] outgoing, int offset, int len) |
SaslClientFactory#
interface · javax.security.sasl.SaslClientFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createSaslClient | createSaslClient(mechanisms,authorizationId,protocol,serverName,props,cbh) | SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map props, CallbackHandler cbh) |
getMechanismNames | getMechanismNames(props) | String[] getMechanismNames(Map props) |
SaslException#
class · extends IOException · javax.security.sasl.SaslException
Constructors
new SaslException() |
new SaslException(String detail) |
new SaslException(String detail, Throwable ex) |
Ring: new SaslException(args) uses the constructor with the fewest parameters (at least one); new SaslException makes the object with the constructor without parameters; the others: (new SaslException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
SaslServer#
interface · javax.security.sasl.SaslServer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dispose | dispose() | void dispose() |
evaluateResponse | evaluateResponse(response) | byte[] evaluateResponse(byte[] response) |
getAuthorizationID | getAuthorizationID() | String getAuthorizationID() |
getMechanismName | getMechanismName() | String getMechanismName() |
getNegotiatedProperty | getNegotiatedProperty(propName) | Object getNegotiatedProperty(String propName) |
isComplete | isComplete() | boolean isComplete() |
unwrap | unwrap(incoming,offset,len) | byte[] unwrap(byte[] incoming, int offset, int len) |
wrap | wrap(outgoing,offset,len) | byte[] wrap(byte[] outgoing, int offset, int len) |
SaslServerFactory#
interface · javax.security.sasl.SaslServerFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createSaslServer | createSaslServer(mechanism,protocol,serverName,props,cbh) | SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh) |
getMechanismNames | getMechanismNames(props) | String[] getMechanismNames(Map props) |