Package org.apache.bookkeeper.auth
Class BookKeeperPrincipal
- java.lang.Object
-
- org.apache.bookkeeper.auth.BookKeeperPrincipal
-
public class BookKeeperPrincipal extends java.lang.Object
A Principal is the user bound to the connection.
-
-
Field Summary
Fields Modifier and Type Field Description static BookKeeperPrincipal
ANONYMOUS
-
Constructor Summary
Constructors Constructor Description BookKeeperPrincipal(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
ANONYMOUS
public static final BookKeeperPrincipal ANONYMOUS
-
-
Method Detail
-
getName
public final java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-