Class SearchAttribute
- java.lang.Object
-
- com.sun.identity.entitlement.util.SearchAttribute
-
public class SearchAttribute extends Object
A representation of a policy attribute that can be searched for. Policy framework attributes are stored in LDAP attributes, so have an LDAP attribute name as well as a policy attribute name.
-
-
Constructor Summary
Constructors Constructor Description SearchAttribute(String attributeName, String ldapAttribute)Create a new searchable attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)StringgetAttributeName()Get the policy framework attribute name.StringgetLdapAttribute()Get the LDAP attribute name.inthashCode()StringtoFilter(String operator)Join the LDAP attribute and policy attribute together with an operator.
-
-
-
Method Detail
-
getLdapAttribute
public String getLdapAttribute()
Get the LDAP attribute name.
-
getAttributeName
public String getAttributeName()
Get the policy framework attribute name.
-
toFilter
public String toFilter(String operator)
Join the LDAP attribute and policy attribute together with an operator.
-
-