Package org.wildfly.security.util
Class LdapUtil
java.lang.Object
org.wildfly.security.util.LdapUtil
Utilities for LDAP attributes manipulation.
- Author:
- Jiri Ondrusek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributegetBinaryAttribute(Attributes attributes, String name) Ldap servers can return binary attributes with suffix ;binary.
-
Constructor Details
-
LdapUtil
public LdapUtil()
-
-
Method Details
-
getBinaryAttribute
Ldap servers can return binary attributes with suffix ;binary. This method helps to solve this case.- Parameters:
attributes- Attributes obtained from servername- Name of returned attribute- Returns:
- Attribute with name 'name', 'name;binary' or null if neither of them exists.
-