15.12 The Principal interface
- Description
-
References the user ID authenticated by WebPasswordLoginModule. With Hitachi's implementation classes, anything created by inheriting the java.security.Principal interface can be bound to an authenticated subject. Therefore, when referencing a Principal, first obtain it from the subject and then use the getName method to reference it. The package name of the Principal interface is java.security.