|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.acls.domain.AbstractPermission org.springframework.security.acls.domain.BasePermission egovframework.rfc3.iam.acl.ExtBasePermission
public class ExtBasePermission
An object that extends BasePermission in Spring Security and contains definition of additional permission. To refer permission information easily, this class contains permission name and code of authority mask(Integer).
Field Summary | |
---|---|
static org.springframework.security.acls.model.Permission |
DOWNLOAD
|
static org.springframework.security.acls.model.Permission |
FNC0
|
static org.springframework.security.acls.model.Permission |
FNC1
|
static org.springframework.security.acls.model.Permission |
FNC2
|
static org.springframework.security.acls.model.Permission |
FNC3
|
static org.springframework.security.acls.model.Permission |
FNC4
|
static org.springframework.security.acls.model.Permission |
FNC5
|
static org.springframework.security.acls.model.Permission |
FNC6
|
static org.springframework.security.acls.model.Permission |
FNC7
|
static org.springframework.security.acls.model.Permission |
FNC8
|
static org.springframework.security.acls.model.Permission |
FNC9
|
static org.springframework.security.acls.model.Permission |
HELP
|
static org.springframework.security.acls.model.Permission |
LIST
|
static org.springframework.security.acls.model.Permission |
MEMO
|
static org.springframework.security.acls.model.Permission |
MODIFY
|
static org.springframework.security.acls.model.Permission |
REPLY
|
static org.springframework.security.acls.model.Permission |
UPLOAD
|
Fields inherited from class org.springframework.security.acls.domain.BasePermission |
---|
ADMINISTRATION, CREATE, DELETE, READ, WRITE |
Fields inherited from interface org.springframework.security.acls.model.Permission |
---|
RESERVED_OFF, RESERVED_ON, THIRTY_TWO_RESERVED_OFF |
Method Summary | |
---|---|
static org.springframework.security.acls.model.Permission |
buildFromMask(int mask)
|
static org.springframework.security.acls.model.Permission |
buildFromName(java.lang.String name)
|
static int |
getPermissionMask(java.lang.String permissionNames)
Get value of mask from permission name that split with comma |
static int |
getPermissionMask(java.lang.String[] permissionNames)
Get value of mask from array of permission name |
static int |
getPermissionMask(java.lang.String permissionNames,
java.lang.String separator)
Get value of mask from permission name that split with given separator |
static java.lang.String |
getPermissionNames(org.springframework.security.acls.model.Permission permission)
Get permission name that contains a code from pattern of permission and return String that split with comma |
static java.lang.String |
getPermissionNames(org.springframework.security.acls.model.Permission permission,
java.lang.String separator)
Get permission name that contains a code from pattern of permission and return String that split with given separator |
static java.lang.String[] |
getPermissionNamesArray(org.springframework.security.acls.model.Permission permission)
Get permission name that contains a code from pattern of permission and return array of String |
static java.util.List |
getPermissionNamesList(org.springframework.security.acls.model.Permission permission)
Get permission name that contains a code from pattern of permission and return list. |
static java.util.Map |
getRegisteredPermissionNames()
Return registerdPermissionNames that contains permission name and code of mask(Integer) |
Methods inherited from class org.springframework.security.acls.domain.AbstractPermission |
---|
equals, getMask, getPattern, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.springframework.security.acls.model.Permission LIST
public static final org.springframework.security.acls.model.Permission MODIFY
public static final org.springframework.security.acls.model.Permission REPLY
public static final org.springframework.security.acls.model.Permission MEMO
public static final org.springframework.security.acls.model.Permission DOWNLOAD
public static final org.springframework.security.acls.model.Permission UPLOAD
public static final org.springframework.security.acls.model.Permission HELP
public static final org.springframework.security.acls.model.Permission FNC0
public static final org.springframework.security.acls.model.Permission FNC1
public static final org.springframework.security.acls.model.Permission FNC2
public static final org.springframework.security.acls.model.Permission FNC3
public static final org.springframework.security.acls.model.Permission FNC4
public static final org.springframework.security.acls.model.Permission FNC5
public static final org.springframework.security.acls.model.Permission FNC6
public static final org.springframework.security.acls.model.Permission FNC7
public static final org.springframework.security.acls.model.Permission FNC8
public static final org.springframework.security.acls.model.Permission FNC9
Method Detail |
---|
public static java.util.Map getRegisteredPermissionNames()
public static java.util.List getPermissionNamesList(org.springframework.security.acls.model.Permission permission)
permission
- Permission object
public static java.lang.String[] getPermissionNamesArray(org.springframework.security.acls.model.Permission permission)
permission
- Permission object
public static java.lang.String getPermissionNames(org.springframework.security.acls.model.Permission permission)
permission
- Permission class
public static java.lang.String getPermissionNames(org.springframework.security.acls.model.Permission permission, java.lang.String separator)
permission
- Permission classString
- separator
public static int getPermissionMask(java.lang.String permissionNames)
permissionNames
- permission names that split with comma. ex) "READ,WRITE"
public static int getPermissionMask(java.lang.String permissionNames, java.lang.String separator)
permissionNames
- permission names that split with given separator. ex) "READ,WRITE,PRINT"String
- separator
public static int getPermissionMask(java.lang.String[] permissionNames)
permissionNames
- String array of permission names
public static final org.springframework.security.acls.model.Permission buildFromName(java.lang.String name)
public static final org.springframework.security.acls.model.Permission buildFromMask(int mask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |