| java.lang.Object | |
| ↳ | sun.security.mule.jgss.krb5.Krb5NameElement |
Implements the GSSNameSpi for the krb5 mechanism.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CHAR_ENCODING | |||||||||||
| gssNameStr | |||||||||||
| gssNameType | |||||||||||
| krb5PrincipalName | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares this
GSSNameSpi object to another Object
that might be a GSSNameSpi. | |||||||||||
Equal method for the GSSNameSpi objects.
| |||||||||||
Returns the principal name in the form user@REALM or
host/service@REALM but with the following contraints that are
imposed by RFC 1964:
(1) all occurrences of the characters `@`, `/`, and `\` within principal components or realm names shall be quoted with an immediately-preceding `\`. | |||||||||||
Returns the name type oid.
| |||||||||||
Instantiates a new Krb5NameElement object.
| |||||||||||
Get the mechanism type that this NameElement corresponds to.
| |||||||||||
Returns the oid describing the format of the printable name.
| |||||||||||
Returns a hashcode value for this GSSNameSpi.
| |||||||||||
Indicates if this name object represents an Anonymous name.
| |||||||||||
Returns a string representation for this name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
sun.security.mule.jgss.spi.GSSNameSpi
| |||||||||||
Compares this GSSNameSpi object to another Object
that might be a GSSNameSpi. The behaviour is exactly
the same as in equals except that
no GSSException is thrown; instead, false will be returned in the
situation where an error occurs.
| another | The object to be compared to |
|---|
Equal method for the GSSNameSpi objects. If either name denotes an anonymous principal, the call should return false.
| other | To be compared with |
|---|
| GSSException | with major codes of BAD_NAMETYPE, BAD_NAME, FAILURE |
|---|
Returns the principal name in the form user@REALM or host/service@REALM but with the following contraints that are imposed by RFC 1964:
(1) all occurrences of the characters `@`, `/`, and `\` within principal components or realm names shall be quoted with an immediately-preceding `\`. (2) all occurrences of the null, backspace, tab, or newline characters within principal components or realm names will be represented, respectively, with `\0`, `\b`, `\t`, or `\n`. (3) the `\` quoting character shall not be emitted within an exported name except to accomodate cases (1) and (2).
| GSSException |
|---|
Returns the name type oid.
Instantiates a new Krb5NameElement object. Internally it stores the information provided by the input parameters so that they may later be used for output when a printable representaion of this name is needed in GSS-API format rather than in Kerberos format.
| gssNameStr | |
|---|---|
| gssNameType | |
| kerberosConfig |
| GSSException |
|---|
Get the mechanism type that this NameElement corresponds to.
Returns the oid describing the format of the printable name.
Returns a hashcode value for this GSSNameSpi.
Indicates if this name object represents an Anonymous name.
Returns a string representation for this name. The printed name type can be obtained by calling getStringNameType().