Package jakarta.security.enterprise
Class CallerPrincipal
- java.lang.Object
-
- jakarta.security.enterprise.CallerPrincipal
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Principal
public class CallerPrincipal extends java.lang.Object implements java.security.Principal, java.io.Serializable
Principal that represents the caller principal associated with the invocation being processed by the container (e.g. the current HTTP request).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CallerPrincipal(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
The name of the caller
-