Package org.eclipse.jetty.security
Class SpnegoLoginService
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.SpnegoLoginService
- All Implemented Interfaces:
LoginService
,LifeCycle
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Deprecated.protected IdentityService
Deprecated.protected String
Deprecated.private String
Deprecated.private static final Logger
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SpnegoLoginService
(String name) Deprecated.SpnegoLoginService
(String name, String config) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doStart()
Deprecated.Deprecated.Deprecated.Get the IdentityService associated with this Login Service.getName()
Deprecated.Deprecated.username will be null since the credentials will contain all the relevant infovoid
logout
(UserIdentity user) Deprecated.void
Deprecated.void
setIdentityService
(IdentityService service) Deprecated.Set the IdentityService associated with this Login Service.void
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
-
Field Details
-
LOG
Deprecated. -
_identityService
Deprecated. -
_name
Deprecated. -
_config
Deprecated. -
_targetName
Deprecated.
-
-
Constructor Details
-
SpnegoLoginService
public SpnegoLoginService()Deprecated. -
SpnegoLoginService
Deprecated. -
SpnegoLoginService
Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getName
in interfaceLoginService
- Returns:
- Get the name of the login service (aka Realm name)
-
setName
Deprecated. -
getConfig
Deprecated. -
setConfig
Deprecated. -
doStart
Deprecated.- Overrides:
doStart
in classAbstractLifeCycle
- 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 interfaceLoginService
- Parameters:
username
- The user namecredentials
- The users credentialsrequest
- TODO- Returns:
- A UserIdentity if the credentials matched, otherwise null
-
validate
Deprecated.Description copied from interface:LoginService
Validate a user identity. Validate that a UserIdentity previously created by a call toLoginService.login(String, Object, ServletRequest)
is still valid.- Specified by:
validate
in interfaceLoginService
- Parameters:
user
- The user to validate- Returns:
- true if authentication has not been revoked for the user.
-
getIdentityService
Deprecated.Description copied from interface:LoginService
Get the IdentityService associated with this Login Service.- Specified by:
getIdentityService
in interfaceLoginService
- Returns:
- the IdentityService associated with this Login Service.
-
setIdentityService
Deprecated.Description copied from interface:LoginService
Set the IdentityService associated with this Login Service.- Specified by:
setIdentityService
in interfaceLoginService
- Parameters:
service
- the IdentityService associated with this Login Service.
-
logout
Deprecated.- Specified by:
logout
in interfaceLoginService
-
ConfigurableSpnegoLoginService
instead