|
Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14658-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleProfile
This interface represents detailed profile of a role.
Field Summary | |
---|---|
static java.lang.String |
DESCRIPTION |
static java.lang.String |
DISPLAY_NAME |
static java.lang.String |
GUID |
static java.lang.String |
MANAGER |
static java.lang.String |
NAME |
static java.lang.String |
OWNER |
Fields inherited from interface oracle.security.idm.Role |
---|
SCOPE_ANY, SCOPE_APPLICATION, SCOPE_ENTERPRISE |
Method Summary | |
---|---|
void |
addManager(java.security.Principal principal) Add the specified principal as one of the managers of the role. |
void |
addOwner(java.security.Principal principal) Add the specified principal as one of the owners of the role. |
void |
addOwner(User usr) Deprecated. use addOwner(Principal principal) |
java.lang.String |
getDescription() |
SearchResponse |
getGrantees(SearchFilter filter, boolean direct) Get all the grantees that are directly or indirectly granted this role. |
SearchResponse |
getManagers(SearchFilter filter) Deprecated. This method returns all the managers (only direct). Use this instead getManagers(SearchFilter filter, boolean direct) |
SearchResponse |
getManagers(SearchFilter filter, boolean direct) Get all the managers of this role. |
SearchResponse |
getOwners(SearchFilter filter) Deprecated. This method returns all the owners (both direct and indirect). Use this instead getOwners(SearchFilter filter, boolean direct) |
SearchResponse |
getOwners(SearchFilter filter, boolean direct) Get all the owners of this role. |
Property |
getProperty(java.lang.String propName) |
boolean |
isApplicationRole() |
boolean |
isEnterpriseRole() |
boolean |
isSeeded() |
void |
removeManager(java.security.Principal principal) Remove the specified principal from the managers of the role. |
void |
removeOwner(java.security.Principal principal) Remove the specified principal from the owners of the role. |
void |
removeOwner(User usr) Deprecated. use removeOwner(Principal principal) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String displayName) |
void |
setName(java.lang.String name) |
Methods inherited from interface oracle.security.idm.Role |
---|
getRoleProfile |
Methods inherited from interface oracle.security.idm.Identity |
---|
getDisplayName, getGUID, getName, getPrincipal, getUniqueName |
Field Detail |
---|
static final java.lang.String NAME
static final java.lang.String DISPLAY_NAME
static final java.lang.String DESCRIPTION
static final java.lang.String GUID
static final java.lang.String MANAGER
static final java.lang.String OWNER
Method Detail |
---|
void setName(java.lang.String name) throws IMException
IMException
void setDisplayName(java.lang.String displayName) throws IMException
IMException
void setDescription(java.lang.String description) throws IMException
IMException
java.lang.String getDescription() throws IMException
IMException
SearchResponse getOwners(SearchFilter filter) throws IMException
getOwners(SearchFilter filter, boolean direct)
filter
- optional search filter for filtering the results. By default the filter is set to null i.e. all the results will be returned.ObjectNotFoundException
- Thrown if the search doesn't return any results.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.SearchResponse getOwners(SearchFilter filter, boolean direct) throws IMException
filter
- optional search filter for filtering the results. By default the filter is set to null i.e. all the results will be returned.direct
- If true all the direct owners will be returned. If false both the direct and indirect owners will be returned.ObjectNotFoundException
- Thrown if the search doesn't return any results.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.void addOwner(java.security.Principal principal) throws IMException
OperationNotSupportedException
- Thrown by the service provider if it doesn't support the operation.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.void removeOwner(java.security.Principal principal) throws IMException
OperationNotSupportedException
- Thrown by the service provider if it doesn't support the operation.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.SearchResponse getManagers(SearchFilter filter) throws IMException
getManagers(SearchFilter filter, boolean direct)
filter
- optional search filter for filtering the results. By default the filter is set to null i.e. all the results will be returned.ObjectNotFoundException
- Thrown if the search doesn't return any results.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.SearchResponse getManagers(SearchFilter filter, boolean direct) throws IMException
filter
- optional search filter for filtering the results. By default the filter is set to null i.e. all the results will be returned.direct
- If true all the direct managers will be returned. If false both the direct and indirect managers will be returned.ObjectNotFoundException
- Thrown if the search doesn't return any results.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.void addManager(java.security.Principal principal) throws IMException
OperationNotSupportedException
- Thrown by the service provider if it doesn't support the operation.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.void removeManager(java.security.Principal principal) throws IMException
OperationNotSupportedException
- Thrown by the service provider if it doesn't support the operation.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.SearchResponse getGrantees(SearchFilter filter, boolean direct) throws IMException
filter
- optional search filter for filtering the results. By default the filter is set to null i.e. all the results will be returned.direct
- If true all the grantees that are direct granted will be returned. If false both the direct and indirect grantees will be returned.ObjectNotFoundException
- Thrown if the search doesn't return any results.NoPermissionException
- Thrown if the caller doesn't have permission to execute this operation.OperationFailureException
- Thrown in case of operation failureIMException
- Thrown by the service provider in case of any other problem.boolean isSeeded()
boolean isApplicationRole()
boolean isEnterpriseRole()
Property getProperty(java.lang.String propName) throws IMException
IMException
void addOwner(User usr) throws IMException
addOwner(Principal principal)
IMException
void removeOwner(User usr) throws IMException
removeOwner(Principal principal)
IMException
|
Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14658-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |