Class ServerAccessContext

  • All Implemented Interfaces:
    AccessContext

    @Immutable
    public abstract class ServerAccessContext
    extends java.lang.Object
    implements AccessContext
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static ServerAccessContext of​(java.lang.String operationId, java.security.Principal principal)  
      abstract java.lang.String operationId()
      Provide a unique id for the operation being validated (for correlation purposes).
      abstract java.security.Principal user()
      Provide the user identity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerAccessContext

        public ServerAccessContext()
    • Method Detail

      • operationId

        public abstract java.lang.String operationId()
        Description copied from interface: AccessContext
        Provide a unique id for the operation being validated (for correlation purposes).
        Specified by:
        operationId in interface AccessContext
      • user

        @Nullable
        @Nullable
        public abstract java.security.Principal user()
        Description copied from interface: AccessContext
        Provide the user identity.
        Specified by:
        user in interface AccessContext
      • of

        public static ServerAccessContext of​(java.lang.String operationId,
                                             java.security.Principal principal)