public abstract class AbstractLoginService extends ContainerLifeCycle implements LoginService
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractLoginService.RolePrincipal
RolePrincipal
|
static class |
AbstractLoginService.UserPrincipal
UserPrincipal
|
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Modifier and Type | Method and Description |
|---|---|
IdentityService |
getIdentityService()
Get the IdentityService associated with this Login Service.
|
String |
getName() |
boolean |
isFullValidate() |
UserIdentity |
login(String username,
Object credentials,
ServletRequest request)
Login a user.
|
void |
logout(UserIdentity user) |
void |
setFullValidate(boolean fullValidate) |
void |
setIdentityService(IdentityService identityService)
Set the identityService.
|
void |
setName(String name)
Set the name.
|
String |
toString() |
boolean |
validate(UserIdentity user)
Validate a user identity.
|
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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic String getName()
getName in interface LoginServiceLoginService.getName()public void setIdentityService(IdentityService identityService)
setIdentityService in interface LoginServiceidentityService - the identityService to setpublic void setName(String name)
name - the name to setpublic String toString()
toString in class AbstractLifeCyclepublic UserIdentity login(String username, Object credentials, ServletRequest request)
LoginServicelogin in interface LoginServiceusername - The user namecredentials - The users credentialsrequest - TODOLoginService.login(java.lang.String, java.lang.Object, javax.servlet.ServletRequest)public boolean validate(UserIdentity user)
LoginServiceLoginService.login(String, Object, ServletRequest) is still valid.validate in interface LoginServiceuser - The user to validateLoginService.validate(org.eclipse.jetty.server.UserIdentity)public IdentityService getIdentityService()
LoginServicegetIdentityService in interface LoginServiceLoginService.getIdentityService()public void logout(UserIdentity user)
logout in interface LoginServiceLoginService.logout(org.eclipse.jetty.server.UserIdentity)public boolean isFullValidate()
public void setFullValidate(boolean fullValidate)
Copyright © 2010 - 2020 Adobe. All Rights Reserved