Package de.xima.fc.dao.utils
Class UserAttributeConditionCheck
- java.lang.Object
 - 
- de.xima.fc.dao.utils.UserAttributeConditionCheck
 
 
- 
- All Implemented Interfaces:
 Predicate<IndirectClientAuthorization>
public final class UserAttributeConditionCheck extends Object implements Predicate<IndirectClientAuthorization>
Predicate that checks whether aIndirectClientAuthorizationmatches a pre-defined user profile.- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description UserAttributeConditionCheck(org.pac4j.core.profile.UserProfile userProfile, IClientDescriptor clientDescriptor, com.unboundid.ldap.sdk.LDAPConnection ldapConnection) 
 - 
 
- 
- 
Constructor Detail
- 
UserAttributeConditionCheck
public UserAttributeConditionCheck(org.pac4j.core.profile.UserProfile userProfile, IClientDescriptor clientDescriptor, com.unboundid.ldap.sdk.LDAPConnection ldapConnection)- Parameters:
 userProfile- User profile against which to an indirect client authorization.clientDescriptor- Authentication client against which to check.ldapConnection- LDAP connection to use for checking LDAP authorizations.
 
 - 
 
- 
Method Detail
- 
test
public boolean test(IndirectClientAuthorization auth)
- Specified by:
 testin interfacePredicate<IndirectClientAuthorization>
 
 - 
 
 -