javax.security.auth.kerberos
8 classes of the module java.security.jgss.
Load them with:
using {
"javax.security.auth.kerberos"
}
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
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
getKeyType | getKeyType() | int getKeyType() |
isDestroyed | isDestroyed() | 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
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getEncoded | getEncoded() | byte[] getEncoded() |
getRecipient | getRecipient() | KerberosPrincipal getRecipient() |
getSender | getSender() | KerberosPrincipal getSender() |
isDestroyed | isDestroyed() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getEncoded | getEncoded() | byte[] getEncoded() |
getFormat | getFormat() | String getFormat() |
getKeyType | getKeyType() | int getKeyType() |
getPrincipal | getPrincipal() | KerberosPrincipal getPrincipal() |
getVersionNumber | getVersionNumber() | int getVersionNumber() |
isDestroyed | isDestroyed() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
KRB_NT_UNKNOWN | int | constant · static | o.KRB_NT_UNKNOWN |
KRB_NT_PRINCIPAL | int | constant · static | o.KRB_NT_PRINCIPAL |
KRB_NT_SRV_INST | int | constant · static | o.KRB_NT_SRV_INST |
KRB_NT_SRV_HST | int | constant · static | o.KRB_NT_SRV_HST |
KRB_NT_SRV_XHST | int | constant · static | o.KRB_NT_SRV_XHST |
KRB_NT_UID | int | constant · static | o.KRB_NT_UID |
KRB_NT_ENTERPRISE | int | constant · static | o.KRB_NT_ENTERPRISE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | String getName() |
getNameType | getNameType() | int getNameType() |
getRealm | getRealm() | String getRealm() |
implies | implies(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
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
getAuthTime | getAuthTime() | Date getAuthTime() |
getClient | getClient() | KerberosPrincipal getClient() |
getClientAddresses | getClientAddresses() | InetAddress[] getClientAddresses() |
getEncoded | getEncoded() | byte[] getEncoded() |
getEndTime | getEndTime() | Date getEndTime() |
getFlags | getFlags() | boolean[] getFlags() |
getRenewTill | getRenewTill() | Date getRenewTill() |
getServer | getServer() | KerberosPrincipal getServer() |
getSessionKey | getSessionKey() | SecretKey getSessionKey() |
getSessionKeyType | getSessionKeyType() | int getSessionKeyType() |
getStartTime | getStartTime() | Date getStartTime() |
isCurrent | isCurrent() | boolean isCurrent() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
isForwardable | isForwardable() | boolean isForwardable() |
isForwarded | isForwarded() | boolean isForwarded() |
isInitial | isInitial() | boolean isInitial() |
isPostdated | isPostdated() | boolean isPostdated() |
isProxiable | isProxiable() | boolean isProxiable() |
isProxy | isProxy() | boolean isProxy() |
isRenewable | isRenewable() | boolean isRenewable() |
refresh | refresh() | void refresh() |
The methods and fields of Object are inherited.
KeyTab#
class final · extends Object · javax.security.auth.kerberos.KeyTab
Methods
| Method | Ring call | Java 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) |
exists | exists() | boolean exists() |
getInstance | getInstance() | static KeyTab getInstance() |
getKeys | getKeys(principal) | KerberosKey[] getKeys(KerberosPrincipal principal) |
getPrincipal | getPrincipal() | KerberosPrincipal getPrincipal() |
getUnboundInstance | getUnboundInstance() | static KeyTab getUnboundInstance() |
isBound | isBound() | 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.