Example usage for Java javax.security.auth.kerberos KerberosPrincipal fields, constructors, methods, implement or subclass
The text is from its open source code.
int | KRB_NT_SRV_INST service and other unique instance (krbtgt) name type. |
KerberosPrincipal(String name) Constructs a KerberosPrincipal from the provided string input. | |
KerberosPrincipal(String name, int nameType) Constructs a KerberosPrincipal from the provided string and name type input. |
String | getName() The returned string corresponds to the single-string representation of a Kerberos Principal name as specified in Section 2.1 of RFC 1964. |
String | getRealm() Returns the realm component of this Kerberos principal. |