|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth2.common.Permission
public class Permission
Base permission description
OAuthAuthorizationData
Constructor Summary | |
---|---|
Permission()
|
|
Permission(String permission,
String description)
|
Method Summary | |
---|---|
String |
getDescription()
Gets the permission description |
String |
getPermission()
Get the permission value such as "read_calendar" |
boolean |
isDefault()
|
void |
setDefault(boolean value)
Indicates if this permission has been allocated by default or not. |
void |
setDescription(String description)
Sets the permission description |
void |
setPermission(String permission)
Sets the permission value such as "read_calendar" |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Permission()
public Permission(String permission, String description)
Method Detail |
---|
public String getDescription()
public void setDescription(String description)
description
- public String getPermission()
public void setPermission(String permission)
permission
- the permission valuepublic void setDefault(boolean value)
isDefault
- true if the permission has been allocated by defaultpublic boolean isDefault()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |