RingJavafor Ring

javax.security.auth.kerberos

8 classes of the module java.security.jgss.

Load them with:

using {
	"javax.security.auth.kerberos"
}

All packages

DelegationPermission#

class final · extends BasicPermission · javax.security.auth.kerberos.DelegationPermission

Implements: Serializable

Constructors

new DelegationPermission(String principals)
new DelegationPermission(String principals, String actions)

Ring: new DelegationPermission(args) uses the constructor with the fewest parameters (at least one); new DelegationPermission makes the object with the constructor without parameters; the others: (new DelegationPermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BasicPermission are inherited.

EncryptionKey#

class final · extends Object · javax.security.auth.kerberos.EncryptionKey

Implements: SecretKey

Constructors

new EncryptionKey(byte[] keyBytes, int keyType)

Ring: new EncryptionKey(args) uses the constructor with the fewest parameters (at least one); new EncryptionKey makes the object with the constructor without parameters; the others: (new EncryptionKey).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
getKeyTypegetKeyType()int getKeyType()
isDestroyedisDestroyed()boolean isDestroyed()

The methods and fields of Object are inherited.

KerberosCredMessage#

class final · extends Object · javax.security.auth.kerberos.KerberosCredMessage

Implements: Destroyable

Constructors

new KerberosCredMessage(KerberosPrincipal sender, KerberosPrincipal recipient, byte[] message)

Ring: new KerberosCredMessage(args) uses the constructor with the fewest parameters (at least one); new KerberosCredMessage makes the object with the constructor without parameters; the others: (new KerberosCredMessage).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getEncodedgetEncoded()byte[] getEncoded()
getRecipientgetRecipient()KerberosPrincipal getRecipient()
getSendergetSender()KerberosPrincipal getSender()
isDestroyedisDestroyed()boolean isDestroyed()

The methods and fields of Object are inherited.

KerberosKey#

class · extends Object · javax.security.auth.kerberos.KerberosKey

Implements: SecretKey

Constructors

new KerberosKey(KerberosPrincipal principal, char[] password, String algorithm)
new KerberosKey(KerberosPrincipal principal, byte[] keyBytes, int keyType, int versionNum)

Ring: new KerberosKey(args) uses the constructor with the fewest parameters (at least one); new KerberosKey makes the object with the constructor without parameters; the others: (new KerberosKey).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getAlgorithmgetAlgorithm()String getAlgorithm()
getEncodedgetEncoded()byte[] getEncoded()
getFormatgetFormat()String getFormat()
getKeyTypegetKeyType()int getKeyType()
getPrincipalgetPrincipal()KerberosPrincipal getPrincipal()
getVersionNumbergetVersionNumber()int getVersionNumber()
isDestroyedisDestroyed()boolean isDestroyed()

The methods and fields of Object are inherited.

KerberosPrincipal#

class final · extends Object · javax.security.auth.kerberos.KerberosPrincipal

Implements: Principal, Serializable

Constructors

new KerberosPrincipal(String name)
new KerberosPrincipal(String name, int nameType)

Ring: new KerberosPrincipal(args) uses the constructor with the fewest parameters (at least one); new KerberosPrincipal makes the object with the constructor without parameters; the others: (new KerberosPrincipal).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
KRB_NT_UNKNOWNintconstant · statico.KRB_NT_UNKNOWN
KRB_NT_PRINCIPALintconstant · statico.KRB_NT_PRINCIPAL
KRB_NT_SRV_INSTintconstant · statico.KRB_NT_SRV_INST
KRB_NT_SRV_HSTintconstant · statico.KRB_NT_SRV_HST
KRB_NT_SRV_XHSTintconstant · statico.KRB_NT_SRV_XHST
KRB_NT_UIDintconstant · statico.KRB_NT_UID
KRB_NT_ENTERPRISEintconstant · statico.KRB_NT_ENTERPRISE

Methods

MethodRing callJava overloads
getNamegetName()String getName()
getNameTypegetNameType()int getNameType()
getRealmgetRealm()String getRealm()
impliesimplies(subject)boolean implies(Subject subject)

The methods and fields of Object are inherited.

KerberosTicket#

class · extends Object · javax.security.auth.kerberos.KerberosTicket

Implements: Destroyable, Refreshable, Serializable

Constructors

new KerberosTicket(byte[] asn1Encoding, KerberosPrincipal client, KerberosPrincipal server, byte[] sessionKey, int keyType, boolean[] flags, Date authTime, Date startTime, Date endTime, Date renewTill, InetAddress[] clientAddresses)

Ring: new KerberosTicket(args) uses the constructor with the fewest parameters (at least one); new KerberosTicket makes the object with the constructor without parameters; the others: (new KerberosTicket).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
destroydestroy()void destroy()
getAuthTimegetAuthTime()Date getAuthTime()
getClientgetClient()KerberosPrincipal getClient()
getClientAddressesgetClientAddresses()InetAddress[] getClientAddresses()
getEncodedgetEncoded()byte[] getEncoded()
getEndTimegetEndTime()Date getEndTime()
getFlagsgetFlags()boolean[] getFlags()
getRenewTillgetRenewTill()Date getRenewTill()
getServergetServer()KerberosPrincipal getServer()
getSessionKeygetSessionKey()SecretKey getSessionKey()
getSessionKeyTypegetSessionKeyType()int getSessionKeyType()
getStartTimegetStartTime()Date getStartTime()
isCurrentisCurrent()boolean isCurrent()
isDestroyedisDestroyed()boolean isDestroyed()
isForwardableisForwardable()boolean isForwardable()
isForwardedisForwarded()boolean isForwarded()
isInitialisInitial()boolean isInitial()
isPostdatedisPostdated()boolean isPostdated()
isProxiableisProxiable()boolean isProxiable()
isProxyisProxy()boolean isProxy()
isRenewableisRenewable()boolean isRenewable()
refreshrefresh()void refresh()

The methods and fields of Object are inherited.

KeyTab#

class final · extends Object · javax.security.auth.kerberos.KeyTab

Methods

MethodRing callJava overloads
@getInstance@getInstance(file)
@getInstance([princ,file])
@getInstance([ :princ = v, :file = v ])
static KeyTab getInstance(File file)
static KeyTab getInstance(KerberosPrincipal princ)
static KeyTab getInstance(KerberosPrincipal princ, File file)
@getUnboundInstance@getUnboundInstance(file)static KeyTab getUnboundInstance(File file)
existsexists()boolean exists()
getInstancegetInstance()static KeyTab getInstance()
getKeysgetKeys(principal)KerberosKey[] getKeys(KerberosPrincipal principal)
getPrincipalgetPrincipal()KerberosPrincipal getPrincipal()
getUnboundInstancegetUnboundInstance()static KeyTab getUnboundInstance()
isBoundisBound()boolean isBound()

The methods and fields of Object are inherited.

ServicePermission#

class final · extends Permission · javax.security.auth.kerberos.ServicePermission

Implements: Serializable

Constructors

new ServicePermission(String servicePrincipal, String action)

Ring: new ServicePermission(args) uses the constructor with the fewest parameters (at least one); new ServicePermission makes the object with the constructor without parameters; the others: (new ServicePermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Permission are inherited.

RingJava - use Java classes and methods from Ring programs.