Class SpnegoUserIdentity

  • All Implemented Interfaces:
    org.eclipse.jetty.server.UserIdentity

    public class SpnegoUserIdentity
    extends java.lang.Object
    implements org.eclipse.jetty.server.UserIdentity
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.server.UserIdentity

        org.eclipse.jetty.server.UserIdentity.Scope, org.eclipse.jetty.server.UserIdentity.UnauthenticatedUserIdentity
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.server.UserIdentity

        UNAUTHENTICATED_IDENTITY
    • Constructor Summary

      Constructors 
      Constructor Description
      SpnegoUserIdentity​(javax.security.auth.Subject subject, java.security.Principal principal, org.eclipse.jetty.server.UserIdentity roleDelegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.security.auth.Subject getSubject()  
      java.security.Principal getUserPrincipal()  
      boolean isEstablished()  
      boolean isUserInRole​(java.lang.String role, org.eclipse.jetty.server.UserIdentity.Scope scope)  
      • Methods inherited from class java.lang.Object

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

      • SpnegoUserIdentity

        public SpnegoUserIdentity​(javax.security.auth.Subject subject,
                                  java.security.Principal principal,
                                  org.eclipse.jetty.server.UserIdentity roleDelegate)
    • Method Detail

      • getSubject

        public javax.security.auth.Subject getSubject()
        Specified by:
        getSubject in interface org.eclipse.jetty.server.UserIdentity
      • getUserPrincipal

        public java.security.Principal getUserPrincipal()
        Specified by:
        getUserPrincipal in interface org.eclipse.jetty.server.UserIdentity
      • isUserInRole

        public boolean isUserInRole​(java.lang.String role,
                                    org.eclipse.jetty.server.UserIdentity.Scope scope)
        Specified by:
        isUserInRole in interface org.eclipse.jetty.server.UserIdentity
      • isEstablished

        public boolean isEstablished()