Class CompatUsernameAuthSubject

  • All Implemented Interfaces:
    org.neo4j.internal.kernel.api.security.AuthSubject

    public abstract class CompatUsernameAuthSubject
    extends java.lang.Object
    implements org.neo4j.internal.kernel.api.security.AuthSubject
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.neo4j.internal.kernel.api.security.AuthSubject authSubject  
      protected java.lang.String username  
      • Fields inherited from interface org.neo4j.internal.kernel.api.security.AuthSubject

        ANONYMOUS, AUTH_DISABLED
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CompatUsernameAuthSubject​(java.lang.String username, org.neo4j.internal.kernel.api.security.AuthSubject authSubject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.internal.kernel.api.security.AuthenticationResult getAuthenticationResult()  
      boolean hasUsername​(java.lang.String username)  
      java.lang.String username()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.internal.kernel.api.security.AuthSubject

        logout, setPasswordChangeNoLongerRequired
    • Field Detail

      • username

        protected final java.lang.String username
      • authSubject

        protected final org.neo4j.internal.kernel.api.security.AuthSubject authSubject
    • Constructor Detail

      • CompatUsernameAuthSubject

        protected CompatUsernameAuthSubject​(java.lang.String username,
                                            org.neo4j.internal.kernel.api.security.AuthSubject authSubject)
    • Method Detail

      • getAuthenticationResult

        public org.neo4j.internal.kernel.api.security.AuthenticationResult getAuthenticationResult()
        Specified by:
        getAuthenticationResult in interface org.neo4j.internal.kernel.api.security.AuthSubject
      • hasUsername

        public boolean hasUsername​(java.lang.String username)
        Specified by:
        hasUsername in interface org.neo4j.internal.kernel.api.security.AuthSubject
      • username

        public java.lang.String username()
        Specified by:
        username in interface org.neo4j.internal.kernel.api.security.AuthSubject