|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SharedAccessAuthorizationStrategy
IBM Confidential OCO Source Materials (C) Copyright IBM Corp. 2012, 2015 All Rights Reserved. The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |