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 writingIndirectClientAuthorization
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description IndirectClientAuthorizationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<IndirectClientAuthorization>
getAllByIds(UserContext uc, Set<Long> ids)
Retrieves all indirect client authorizations with one of the given IDs.List<IndirectClientAuthorization>
getByAuthenticator(UserContext uc, IAuthenticator<?> auth)
Retrieves all indirect client authorizations that use the given authenticator.List<IndirectClientAuthorization>
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
-
-
-
-
Method Detail
-
getAllByIds
public Set<IndirectClientAuthorization> getAllByIds(UserContext uc, Set<Long> ids)
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
public List<IndirectClientAuthorization> getByAuthenticator(UserContext uc, IAuthenticator<?> auth)
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.
-
-