org.eclipse.jetty.security
Class UserAuthentication
java.lang.Object
org.eclipse.jetty.security.UserAuthentication
- All Implemented Interfaces:
- Authentication, Authentication.User
- Direct Known Subclasses:
- FormAuthenticator.FormAuthentication
public class UserAuthentication
- extends Object
- implements Authentication.User
- Version:
- $Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $
UserAuthentication
public UserAuthentication(String method,
UserIdentity userIdentity)
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethod
in interface Authentication.User
getUserIdentity
public UserIdentity getUserIdentity()
- Specified by:
getUserIdentity
in interface Authentication.User
isUserInRole
public boolean isUserInRole(UserIdentity.Scope scope,
String role)
- Specified by:
isUserInRole
in interface Authentication.User
toString
public String toString()
- Overrides:
toString
in class Object
logout
public void logout()
- Specified by:
logout
in interface Authentication.User
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.