Package com.soffid.iam.service
Interface EntitlementDelegationService
-
public interface EntitlementDelegationService
Service EntitlementDelegationService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleAccount
acceptDelegation(RoleAccount ra)
Operation acceptDelegation Accepts a delegation not accepted yetRoleAccount
cancelDelegation(RoleAccount rolAccount)
Operation cancelDelegation Revokes an entitilementRoleAccount
delegate(RoleAccount rolAccount, String user, String account, Date since, Date until)
Operation delegate Delegates an entitilementList<String>
findAccountsToDelegate(RoleAccount rolAccount, String user)
Operation findAccountsToDelegate Gets the list of accounts that can be delegated for a userList<RoleAccount>
findActiveDelegations()
Operation findActiveDelegations Gets list of entitlements delegated by current userList<RoleAccount>
findDelegationsToAccept()
Operation findDelegationsToAccept Gets list of entitlements delegated to current uservoid
revertExpiredDelegations()
Operation revertExpiredDelegations Revernts expired delegation back to the caller
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptDelegation
RoleAccount acceptDelegation(RoleAccount ra) throws InternalErrorException
Operation acceptDelegation Accepts a delegation not accepted yet- Parameters:
ra
-- Returns:
- Throws:
InternalErrorException
-
cancelDelegation
RoleAccount cancelDelegation(RoleAccount rolAccount) throws InternalErrorException
Operation cancelDelegation Revokes an entitilement- Parameters:
rolAccount
-- Returns:
- Throws:
InternalErrorException
-
delegate
RoleAccount delegate(RoleAccount rolAccount, String user, String account, Date since, Date until) throws InternalErrorException
Operation delegate Delegates an entitilement- Parameters:
rolAccount
-user
-account
-since
-until
-- Returns:
- Throws:
InternalErrorException
-
findAccountsToDelegate
List<String> findAccountsToDelegate(RoleAccount rolAccount, String user) throws InternalErrorException
Operation findAccountsToDelegate Gets the list of accounts that can be delegated for a user- Parameters:
rolAccount
-user
-- Returns:
- Throws:
InternalErrorException
-
findActiveDelegations
List<RoleAccount> findActiveDelegations() throws InternalErrorException
Operation findActiveDelegations Gets list of entitlements delegated by current user- Returns:
- Throws:
InternalErrorException
-
findDelegationsToAccept
List<RoleAccount> findDelegationsToAccept() throws InternalErrorException
Operation findDelegationsToAccept Gets list of entitlements delegated to current user- Returns:
- Throws:
InternalErrorException
-
revertExpiredDelegations
void revertExpiredDelegations() throws InternalErrorException
Operation revertExpiredDelegations Revernts expired delegation back to the caller- Throws:
InternalErrorException
-
-