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 a
IndirectClientAuthorization
matches a pre-defined user profile.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionUserAttributeConditionCheck
(org.pac4j.core.profile.UserProfile userProfile, IClientDescriptor clientDescriptor, com.unboundid.ldap.sdk.LDAPConnection ldapConnection) -
Method Summary
-
Constructor Details
-
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 Details
-
test
- Specified by:
test
in interfacePredicate<IndirectClientAuthorization>
-