Class SpnegoLoginService

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IdentityService _identityService
      Deprecated.
       
      protected java.lang.String _name
      Deprecated.
       
      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void doStart()
      Deprecated.
       
      java.lang.String getConfig()
      Deprecated.
       
      IdentityService getIdentityService()
      Deprecated.
      Get the IdentityService associated with this Login Service.
      java.lang.String getName()
      Deprecated.
       
      UserIdentity login​(java.lang.String username, java.lang.Object credentials, javax.servlet.ServletRequest request)
      Deprecated.
      username will be null since the credentials will contain all the relevant info
      void logout​(UserIdentity user)
      Deprecated.
       
      void setConfig​(java.lang.String config)
      Deprecated.
       
      void setIdentityService​(IdentityService service)
      Deprecated.
      Set the IdentityService associated with this Login Service.
      void setName​(java.lang.String name)
      Deprecated.
       
      boolean validate​(UserIdentity user)
      Deprecated.
      Validate a user identity.
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _name

        protected java.lang.String _name
        Deprecated.
    • Constructor Detail

      • SpnegoLoginService

        public SpnegoLoginService()
        Deprecated.
      • SpnegoLoginService

        public SpnegoLoginService​(java.lang.String name)
        Deprecated.
      • SpnegoLoginService

        public SpnegoLoginService​(java.lang.String name,
                                  java.lang.String config)
        Deprecated.
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Specified by:
        getName in interface LoginService
        Returns:
        Get the name of the login service (aka Realm name)
      • setName

        public void setName​(java.lang.String name)
        Deprecated.
      • getConfig

        public java.lang.String getConfig()
        Deprecated.
      • setConfig

        public void setConfig​(java.lang.String config)
        Deprecated.
      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Deprecated.
        Overrides:
        doStart in class org.eclipse.jetty.util.component.AbstractLifeCycle
        Throws:
        java.lang.Exception
      • login

        public UserIdentity login​(java.lang.String username,
                                  java.lang.Object credentials,
                                  javax.servlet.ServletRequest request)
        Deprecated.
        username will be null since the credentials will contain all the relevant info
        Specified by:
        login in interface LoginService
        Parameters:
        username - The user name
        credentials - The users credentials
        request - TODO
        Returns:
        A UserIdentity if the credentials matched, otherwise null
      • getIdentityService

        public IdentityService getIdentityService()
        Deprecated.
        Description copied from interface: LoginService
        Get the IdentityService associated with this Login Service.
        Specified by:
        getIdentityService in interface LoginService
        Returns:
        the IdentityService associated with this Login Service.
      • setIdentityService

        public void setIdentityService​(IdentityService service)
        Deprecated.
        Description copied from interface: LoginService
        Set the IdentityService associated with this Login Service.
        Specified by:
        setIdentityService in interface LoginService
        Parameters:
        service - the IdentityService associated with this Login Service.