Class CallerPrincipal

  • All Implemented Interfaces:
    java.security.Principal


    public class CallerPrincipal
    extends java.lang.Object
    implements java.security.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 
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.security.Principal

        equals, hashCode, implies, toString
    • Constructor Detail

      • CallerPrincipal

        public CallerPrincipal​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName​()
        The name of the caller
        Specified by:
        getName in interface java.security.Principal
        Returns:
        The name of the caller