|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.user.UserContextPermission
public class UserContextPermission
This class is used to protect UserContext objects that are stored in the UserService. In order to get a user, UserContext "read" permission is required.
Constructor Summary | |
---|---|
UserContextPermission()
Constructs a default user context permission. |
|
UserContextPermission(java.lang.String name)
Constructs a user context permission using the specified name. |
|
UserContextPermission(java.lang.String name,
java.lang.String actions)
Constructs a user context permission using the specified name and actions. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether or not the specified object is a user context permission. |
java.lang.String |
getActions()
Gets the user context permission's actions. |
int |
hashCode()
Gets the hash code. |
boolean |
implies(java.security.Permission permission)
Determines whether the permission is implied. |
Constructor Detail |
---|
public UserContextPermission()
public UserContextPermission(java.lang.String name)
name
- Permission's name.public UserContextPermission(java.lang.String name, java.lang.String actions)
name
- Permission's name.actions
- Permission's actions.Method Detail |
---|
public boolean implies(java.security.Permission permission)
implies
in class java.security.BasicPermission
permission
- Permission
true
if the permission is implied.public boolean equals(java.lang.Object obj)
equals
in class java.security.BasicPermission
obj
- Permission
true
if the object is a user context permission.public int hashCode()
hashCode
in class java.security.BasicPermission
public java.lang.String getActions()
getActions
in class java.security.BasicPermission
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |