Apache CXF API

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

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

public class OAuthPermission
extends Permission

Provides the complete information about a given opaque permission.


Constructor Summary
OAuthPermission(String permission, String description)
           
OAuthPermission(String permission, String description, List<String> roles)
           
 
Method Summary
 List<String> getHttpVerbs()
           
 List<String> getRoles()
           
 List<String> getUris()
           
 void setHttpVerbs(List<String> httpVerbs)
           
 void setRoles(List<String> roles)
           
 void setUris(List<String> uri)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth.data.Permission
getDescription, getPermission, isDefault, setDefault, setDescription, setPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthPermission

public OAuthPermission(String permission,
                       String description)

OAuthPermission

public OAuthPermission(String permission,
                       String description,
                       List<String> roles)
Method Detail

setRoles

public void setRoles(List<String> roles)

getRoles

public List<String> getRoles()

setHttpVerbs

public void setHttpVerbs(List<String> httpVerbs)

getHttpVerbs

public List<String> getHttpVerbs()

setUris

public void setUris(List<String> uri)

getUris

public List<String> getUris()

Apache CXF API

Apache CXF