public class VmsLoginService
extends java.lang.Object
implements org.eclipse.jetty.security.LoginService
Modifier and Type | Class and Description |
---|---|
static class |
VmsLoginService.VmsUser
Class VmsUser represents a VMS user.
|
Constructor and Description |
---|
VmsLoginService() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.security.IdentityService |
getIdentityService() |
java.lang.String |
getName() |
org.eclipse.jetty.server.UserIdentity |
login(java.lang.String username,
java.lang.Object credentials) |
void |
logout(org.eclipse.jetty.server.UserIdentity user) |
void |
setIdentityService(org.eclipse.jetty.security.IdentityService service) |
boolean |
validate(org.eclipse.jetty.server.UserIdentity user) |
public org.eclipse.jetty.security.IdentityService getIdentityService()
getIdentityService
in interface org.eclipse.jetty.security.LoginService
public java.lang.String getName()
getName
in interface org.eclipse.jetty.security.LoginService
public org.eclipse.jetty.server.UserIdentity login(java.lang.String username, java.lang.Object credentials)
login
in interface org.eclipse.jetty.security.LoginService
public void logout(org.eclipse.jetty.server.UserIdentity user)
logout
in interface org.eclipse.jetty.security.LoginService
public void setIdentityService(org.eclipse.jetty.security.IdentityService service)
setIdentityService
in interface org.eclipse.jetty.security.LoginService
public boolean validate(org.eclipse.jetty.server.UserIdentity user)
validate
in interface org.eclipse.jetty.security.LoginService