Class SpnegoLoginService

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.SpnegoLoginService
All Implemented Interfaces:
LoginService, LifeCycle

@Deprecated public class SpnegoLoginService extends AbstractLifeCycle implements LoginService
Deprecated.
  • Field Details

    • LOG

      private static final Logger LOG
      Deprecated.
    • _identityService

      protected IdentityService _identityService
      Deprecated.
    • _name

      protected String _name
      Deprecated.
    • _config

      private String _config
      Deprecated.
    • _targetName

      private String _targetName
      Deprecated.
  • Constructor Details

    • SpnegoLoginService

      public SpnegoLoginService()
      Deprecated.
    • SpnegoLoginService

      public SpnegoLoginService(String name)
      Deprecated.
    • SpnegoLoginService

      public SpnegoLoginService(String name, String config)
      Deprecated.
  • Method Details

    • getName

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

      public void setName(String name)
      Deprecated.
    • getConfig

      public String getConfig()
      Deprecated.
    • setConfig

      public void setConfig(String config)
      Deprecated.
    • doStart

      protected void doStart() throws Exception
      Deprecated.
      Overrides:
      doStart in class AbstractLifeCycle
      Throws:
      Exception
    • login

      public UserIdentity login(String username, 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
    • validate

      public boolean validate(UserIdentity user)
      Deprecated.
      Description copied from interface: LoginService
      Validate a user identity. Validate that a UserIdentity previously created by a call to LoginService.login(String, Object, ServletRequest) is still valid.
      Specified by:
      validate in interface LoginService
      Parameters:
      user - The user to validate
      Returns:
      true if authentication has not been revoked for the user.
    • 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.
    • logout

      public void logout(UserIdentity user)
      Deprecated.
      Specified by:
      logout in interface LoginService