public class OVXLoginService.OpenVirteXAuthenticatedUser extends Object implements org.eclipse.jetty.server.Authentication.User
org.eclipse.jetty.server.Authentication.Challenge, org.eclipse.jetty.server.Authentication.Deferred, org.eclipse.jetty.server.Authentication.Failed, org.eclipse.jetty.server.Authentication.Failure, org.eclipse.jetty.server.Authentication.ResponseSent, org.eclipse.jetty.server.Authentication.SendSuccess, org.eclipse.jetty.server.Authentication.User, org.eclipse.jetty.server.Authentication.Wrapped| Constructor and Description |
|---|
OVXLoginService.OpenVirteXAuthenticatedUser(String username,
String password)
Creates an authenticated user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod() |
org.eclipse.jetty.server.UserIdentity |
getUserIdentity() |
boolean |
isUserInRole(org.eclipse.jetty.server.UserIdentity.Scope scope,
String role) |
void |
logout() |
public String getAuthMethod()
getAuthMethod in interface org.eclipse.jetty.server.Authentication.Userpublic org.eclipse.jetty.server.UserIdentity getUserIdentity()
getUserIdentity in interface org.eclipse.jetty.server.Authentication.Userpublic boolean isUserInRole(org.eclipse.jetty.server.UserIdentity.Scope scope,
String role)
isUserInRole in interface org.eclipse.jetty.server.Authentication.Userpublic void logout()
logout in interface org.eclipse.jetty.server.Authentication.UserCopyright © 2014. All rights reserved.