RingJavafor Ring

javax.security.sasl

10 classes of the module java.security.sasl.

Load them with:

using {
	"javax.security.sasl"
}

All packages

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

MethodRing callJava overloads
getAuthenticationIDgetAuthenticationID()String getAuthenticationID()
getAuthorizationIDgetAuthorizationID()String getAuthorizationID()
getAuthorizedIDgetAuthorizedID()String getAuthorizedID()
isAuthorizedisAuthorized()boolean isAuthorized()
setAuthorizedsetAuthorized(ok)void setAuthorized(boolean ok)
setAuthorizedIDsetAuthorizedID(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

NameTypeAccessIn Ring
QOPStringconstant · statico.QOP
STRENGTHStringconstant · statico.STRENGTH
SERVER_AUTHStringconstant · statico.SERVER_AUTH
BOUND_SERVER_NAMEStringconstant · statico.BOUND_SERVER_NAME
MAX_BUFFERStringconstant · statico.MAX_BUFFER
RAW_SEND_SIZEStringconstant · statico.RAW_SEND_SIZE
REUSEStringconstant · statico.REUSE
POLICY_NOPLAINTEXTStringconstant · statico.POLICY_NOPLAINTEXT
POLICY_NOACTIVEStringconstant · statico.POLICY_NOACTIVE
POLICY_NODICTIONARYStringconstant · statico.POLICY_NODICTIONARY
POLICY_NOANONYMOUSStringconstant · statico.POLICY_NOANONYMOUS
POLICY_FORWARD_SECRECYStringconstant · statico.POLICY_FORWARD_SECRECY
POLICY_PASS_CREDENTIALSStringconstant · statico.POLICY_PASS_CREDENTIALS
CREDENTIALSStringconstant · statico.CREDENTIALS

Methods

MethodRing callJava overloads
createSaslClientcreateSaslClient(mechanisms,authorizationId,protocol,serverName,props,cbh)static SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map props, CallbackHandler cbh)
createSaslServercreateSaslServer(mechanism,protocol,serverName,props,cbh)static SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh)
getSaslClientFactoriesgetSaslClientFactories()static Enumeration getSaslClientFactories()
getSaslServerFactoriesgetSaslServerFactories()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

MethodRing callJava overloads
disposedispose()void dispose()
evaluateChallengeevaluateChallenge(challenge)byte[] evaluateChallenge(byte[] challenge)
getMechanismNamegetMechanismName()String getMechanismName()
getNegotiatedPropertygetNegotiatedProperty(propName)Object getNegotiatedProperty(String propName)
hasInitialResponsehasInitialResponse()boolean hasInitialResponse()
isCompleteisComplete()boolean isComplete()
unwrapunwrap(incoming,offset,len)byte[] unwrap(byte[] incoming, int offset, int len)
wrapwrap(outgoing,offset,len)byte[] wrap(byte[] outgoing, int offset, int len)

SaslClientFactory#

interface · javax.security.sasl.SaslClientFactory

Methods

MethodRing callJava overloads
createSaslClientcreateSaslClient(mechanisms,authorizationId,protocol,serverName,props,cbh)SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map props, CallbackHandler cbh)
getMechanismNamesgetMechanismNames(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

MethodRing callJava overloads
disposedispose()void dispose()
evaluateResponseevaluateResponse(response)byte[] evaluateResponse(byte[] response)
getAuthorizationIDgetAuthorizationID()String getAuthorizationID()
getMechanismNamegetMechanismName()String getMechanismName()
getNegotiatedPropertygetNegotiatedProperty(propName)Object getNegotiatedProperty(String propName)
isCompleteisComplete()boolean isComplete()
unwrapunwrap(incoming,offset,len)byte[] unwrap(byte[] incoming, int offset, int len)
wrapwrap(outgoing,offset,len)byte[] wrap(byte[] outgoing, int offset, int len)

SaslServerFactory#

interface · javax.security.sasl.SaslServerFactory

Methods

MethodRing callJava overloads
createSaslServercreateSaslServer(mechanism,protocol,serverName,props,cbh)SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh)
getMechanismNamesgetMechanismNames(props)String[] getMechanismNames(Map props)
RingJava - use Java classes and methods from Ring programs.