java.lang.Object | |
↳ | com.sun.security.auth.X500Principal |
This class is deprecated.
A new X500Principal class is available in the Java platform.
This X500Principal classs is entirely deprecated and
is here to allow for a smooth transition to the new
class.
This class represents an X.500 Principal
.
X500Principals have names such as,
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"
(RFC 1779 style).
Principals such as this X500Principal
may be associated with a particular Subject
to augment that Subject
with an additional
identity. Refer to the Subject
class for more information
on how to achieve this. Authorization decisions can then be based upon
the Principals associated with a Subject
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a X500Principal with an X.500 Name,
such as "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"
(RFC 1779 style).
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified Object with this
X500Principal
for equality. | |||||||||||
Return the Unix username for this
X500Principal . | |||||||||||
Return a hash code for this
X500Principal . | |||||||||||
Return a string representation of this
X500Principal . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a X500Principal with an X.500 Name, such as "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US" (RFC 1779 style).
name | the X.500 name |
---|
NullPointerException | if the name
is null . |
---|---|
IllegalArgumentException | if the name
is improperly specified.
|
Compares the specified Object with this X500Principal
for equality.
o | Object to be compared for equality with this
X500Principal . |
---|
X500Principal
.
Return the Unix username for this X500Principal
.
X500Principal
Return a hash code for this X500Principal
.
X500Principal
.
Return a string representation of this X500Principal
.
X500Principal
.