Package org.eclipse.jetty.security
Class AbstractLoginService
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.security.AbstractLoginService
- All Implemented Interfaces:
LoginService,Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle
- Direct Known Subclasses:
HashLoginService,JDBCLoginService
@Deprecated(since="2021-05-27")
public abstract class AbstractLoginService
extends ContainerLifeCycle
implements LoginService
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
AbstractLoginService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.static classDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the IdentityService associated with this Login Service.getName()Deprecated.booleanDeprecated.login(String username, Object credentials, ServletRequest request) Deprecated.Login a user.voidlogout(UserIdentity user) Deprecated.voidsetFullValidate(boolean fullValidate) Deprecated.voidsetIdentityService(IdentityService identityService) Deprecated.Set the identityService.voidDeprecated.Set the name.toString()Deprecated.booleanvalidate(UserIdentity user) Deprecated.Validate a user identity.Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfaceLoginService- Returns:
- Get the name of the login service (aka Realm name)
- See Also:
-
setIdentityService
Deprecated.Set the identityService.- Specified by:
setIdentityServicein interfaceLoginService- Parameters:
identityService- the identityService to set
-
setName
Deprecated.Set the name.- Parameters:
name- the name to set
-
toString
Deprecated.- Overrides:
toStringin classAbstractLifeCycle
-
login
Deprecated.Description copied from interface:LoginServiceLogin a user.- Specified by:
loginin interfaceLoginService- Parameters:
username- The user namecredentials- The users credentialsrequest- TODO- Returns:
- A UserIdentity if the credentials matched, otherwise null
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
logout
Deprecated.- Specified by:
logoutin interfaceLoginService- See Also:
-
isFullValidate
public boolean isFullValidate()Deprecated. -
setFullValidate
public void setFullValidate(boolean fullValidate) Deprecated.
-