Java javax.security.auth.kerberos KerberosPrincipal fields, constructors, methods, implement or subclass

Example usage for Java javax.security.auth.kerberos KerberosPrincipal fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.security.auth.kerberos KerberosPrincipal.

The text is from its open source code.

Field

intKRB_NT_SRV_INST
service and other unique instance (krbtgt) name type.

Constructor

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.

Method

StringgetName()
The returned string corresponds to the single-string representation of a Kerberos Principal name as specified in Section 2.1 of RFC 1964.
StringgetRealm()
Returns the realm component of this Kerberos principal.