Package de.xima.fc.handler.entity
Class IndirectClientAuthorizationHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.IndirectClientAuthorizationHandler
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IIndirectClientAuthorizationHandler
,Serializable
public class IndirectClientAuthorizationHandler
extends GenericHandler
implements IIndirectClientAuthorizationHandler
Handler implementation for reading and writing
IndirectClientAuthorization
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByIds
(UserContext uc, Set<Long> ids) Retrieves all indirect client authorizations with one of the given IDs.getByAuthenticator
(UserContext uc, IAuthenticator<?> auth) Retrieves all indirect client authorizations that use the given authenticator.getByUserProfile
(UserContext uc, org.pac4j.core.profile.UserProfile userProfile) Returns all indirect client authorizations which match the profile based on the configured filter.Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
IndirectClientAuthorizationHandler
public IndirectClientAuthorizationHandler()
-
-
Method Details
-
getAllByIds
Description copied from interface:IIndirectClientAuthorizationHandler
Retrieves all indirect client authorizations with one of the given IDs.- Specified by:
getAllByIds
in interfaceIIndirectClientAuthorizationHandler
- Parameters:
uc
- User context for database transactions.ids
- of the entities.- Returns:
- A set of indirect client authorizations that have one of the given IDs.
-
getByAuthenticator
Description copied from interface:IIndirectClientAuthorizationHandler
Retrieves all indirect client authorizations that use the given authenticator.- Specified by:
getByAuthenticator
in interfaceIIndirectClientAuthorizationHandler
- Parameters:
uc
- User context for database transactions.auth
- The authenticator that is used by the indirect client authorizations.- Returns:
- A list of all indirect client authorizations that use the given authenticator.
-
getByUserProfile
public List<IndirectClientAuthorization> getByUserProfile(UserContext uc, org.pac4j.core.profile.UserProfile userProfile) Description copied from interface:IIndirectClientAuthorizationHandler
Returns all indirect client authorizations which match the profile based on the configured filter.- Specified by:
getByUserProfile
in interfaceIIndirectClientAuthorizationHandler
- Parameters:
uc
- user context for database transactionsuserProfile
- to check for- Returns:
- a list of indirect client authorizations which match the profile based on the configured filter.
-