org.apache.cxf.rs.security.oauth.data
Class Permission
java.lang.Object
org.apache.cxf.rs.security.oauth.data.Permission
- Direct Known Subclasses:
- OAuthPermission
public class Permission
- extends Object
Base permission description which is visible to
authorization handlers
- See Also:
OAuthAuthorizationData
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Permission
public Permission()
Permission
public Permission(String permission,
String description)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getPermission
public String getPermission()
setPermission
public void setPermission(String permission)
setDefault
public void setDefault(boolean value)
- Indicates that this permission has been allocated by default.
Authorization View handlers may use this property in order to restrict
the list of scopes which may be refused to non-default scopes only
- Parameters:
isDefault
-
isDefault
public boolean isDefault()
Apache CXF