Package de.willuhn.jameica.security
Class Principal
java.lang.Object
de.willuhn.jameica.security.Principal
Kleine Hilfsklasse um die X.500-Attribute eine java.security.Principal
besser auslesen zu koennen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DISTINGUISHED_NAME
Attribut DN.- See Also:
-
COMMON_NAME
Attribut CN.- See Also:
-
ORGANIZATION
Attribut O.- See Also:
-
ORGANIZATIONAL_UNIT
Attribut OU.- See Also:
-
LOCALITY
Attribut L.- See Also:
-
STATE
Attribut ST.- See Also:
-
COUNTRY
Attribut C.- See Also:
-
-
Constructor Details
-
Principal
ct.- Parameters:
p
-
-
-
Method Details
-
getAttribute
Liefert den Wert des Attributes.- Parameters:
name
- Name des Attributes. Siehe Konstanten in dieser Klasse.- Returns:
- Wert des Attributes. Es werden nie Leerstrings geliefert sondern hoechstens null.
-