Apache CXF API

org.apache.cxf.rs.security.oauth.data
Class UserSubject

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth.data.UserSubject

public class UserSubject
extends Object

Represents a user alias or login name which AuthorizationService may capture after the end user approved a given third party request


Constructor Summary
UserSubject(String login, List<String> roles)
           
 
Method Summary
 String getLogin()
           
 List<String> getRoles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSubject

public UserSubject(String login,
                   List<String> roles)
Method Detail

getLogin

public String getLogin()

getRoles

public List<String> getRoles()

Apache CXF API

Apache CXF