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.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SpnegoLoginService(String name) Deprecated.SpnegoLoginService(String name, String config) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Get the IdentityService associated with this Login Service.getName()Deprecated.login(String username, Object credentials, ServletRequest request) Deprecated.username will be null since the credentials will contain all the relevant infovoidlogout(UserIdentity user) Deprecated.voidDeprecated.voidsetIdentityService(IdentityService service) Deprecated.Set the IdentityService associated with this Login Service.voidDeprecated.booleanvalidate(UserIdentity user) Deprecated.Validate a user identity.Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Constructor Details
-
SpnegoLoginService
public SpnegoLoginService()Deprecated. -
SpnegoLoginService
Deprecated. -
SpnegoLoginService
Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfaceLoginService- Returns:
- Get the name of the login service (aka Realm name)
-
setName
Deprecated. -
getConfig
Deprecated. -
setConfig
Deprecated. -
login
Deprecated.username will be null since the credentials will contain all the relevant info- Specified by:
loginin 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:LoginServiceValidate a user identity. Validate that a UserIdentity previously created by a call toLoginService.login(String, Object, ServletRequest)is still valid.- Specified by:
validatein interfaceLoginService- Parameters:
user- The user to validate- Returns:
- true if authentication has not been revoked for the user.
-
getIdentityService
Deprecated.Description copied from interface:LoginServiceGet the IdentityService associated with this Login Service.- Specified by:
getIdentityServicein interfaceLoginService- Returns:
- the IdentityService associated with this Login Service.
-
setIdentityService
Deprecated.Description copied from interface:LoginServiceSet the IdentityService associated with this Login Service.- Specified by:
setIdentityServicein interfaceLoginService- Parameters:
service- the IdentityService associated with this Login Service.
-
logout
Deprecated.- Specified by:
logoutin interfaceLoginService
-
ConfigurableSpnegoLoginServiceinstead