@Override
    public LdapName parseValue(String value) throws GuacamoleException {

        if (value == null)
            return null;

        try {
            return new LdapName(value);
        }
        catch (InvalidNameException e) {
            throw new GuacamoleServerException("Value \"" + value
                + "\" is not a valid LDAP name.", e);
        }

    }
A GuacamoleProperty whose value is an LDAP name, such as a distinguished
name.
extensions/guacamole-auth-sso/modules/guacamole-auth-sso-ssl/src/main/java/org/apache/guacamole/auth/ssl/conf/LdapNameGuacamoleProperty.java