- All Implemented Interfaces:
Principal
Principal that represents the caller principal associated with the invocation being
processed by the container (e.g. the current HTTP request).
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CallerPrincipal
public CallerPrincipal(String name)
-
Method Details
-
getName
The name of the caller
- Specified by:
getName
in interface Principal
- Returns:
- The name of the caller