Interface Principal
- All Known Implementing Classes:
User
public interface Principal
An identifier held by a Subject.
Implementations must override hashCode() and equals(Object) such
instances are equal if, and only if, they have the same implementation class and their names that are the same
(according to equals()). One easy way to achieve this is to use a record class with a single name component.
-
Method Summary
-
Method Details
-
name
String name()
-