public interface SharedAccessAuthorizationStrategy
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<CredentialComponent> |
getAuthorizedSharedAccesses(PersonEntity personEntity,
boolean isExcludeCheckedOutAccount,
SharedAccessSearchFilter filter,
SearchParameters searchParam,
SearchResultsStatus searchStatus)
Finds the authorized shared accesses for a given user.
|
boolean |
isCheckoutAllowed(PersonEntity personEntity,
CredentialComponent sharedAccess)
Determines if the given user is authorized to check out a shared accesses.
|
boolean |
isViewPasswordAllowed(PersonEntity personEntity,
Credential credential)
Determines if the given user is authorized to view the password of a shared accesses.
|
java.util.Collection<CredentialComponent> getAuthorizedSharedAccesses(PersonEntity personEntity, boolean isExcludeCheckedOutAccount, SharedAccessSearchFilter filter, SearchParameters searchParam, SearchResultsStatus searchStatus) throws SharedAccessAuthorityException
personEntity - PersonEntity
of an authenticated user.isExcludeCheckedOutAccount - boolean indicating whether to exclude checked out accountsfilter - SharedAccessSearchFilter specifying the search attribute values.
If the value is null, all authorized shared accesses are returned.searchParam - SearchParameters specifying the search limit.
Note: Other search parameters are ignored.searchStatus - SearchResultsStatus holding the status of the search.SharedAccessAuthorityException - Thrown if an error occurs during the evaluation.boolean isCheckoutAllowed(PersonEntity personEntity, CredentialComponent sharedAccess) throws SharedAccessAuthorityException
personEntity - PersonEntity
of an authenticated user.sharedAccess - CredentialComponent representing a credential or a pool.SharedAccessAuthorityException - Thrown if an error occurs during the evaulation.boolean isViewPasswordAllowed(PersonEntity personEntity, Credential credential) throws SharedAccessAuthorityException
personEntity - PersonEntity
of an authenticated user.credential - the credential.SharedAccessAuthorityException - Thrown if an error occurs during the evaluation.IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.