| sun.security.jgss.spi.GSSNameSpi |
Known Indirect Subclasses
|
This interface is implemented by a mechanism specific name element. A GSSName is conceptually a container class of several name elements from different mechanisms.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Equals method for the GSSNameSpi objects.
| |||||||||||
Compares this
GSSNameSpi object to another Object
that might be a GSSNameSpi. | |||||||||||
Returns a flat name representation for this 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.
| |||||||||||
Equals method for the GSSNameSpi objects. If either name denotes an anonymous principal, the call should return false.
| name | to be compared with |
|---|
| GSSException | with major codes of BAD_NAMETYPE, BAD_NAME, FAILURE |
|---|
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 |
|---|
true if this object is the same as the obj
argument; false otherwise.Returns a flat name representation for this object. The name format is defined in RFC 2078.
| GSSException | with major codes NAME_NOT_MN, BAD_NAME, BAD_NAME, FAILURE. |
|---|
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().