Class LdapSearchScopeOpt


  • public final class LdapSearchScopeOpt
    extends Object
    LDAP search scope.
    • Constructor Detail

      • LdapSearchScopeOpt

        public LdapSearchScopeOpt()
    • Method Detail

      • userDN

        public String userDN()
        Get the userDN property: This specifies the user DN, which overrides the base DN for user lookups.
        Returns:
        the userDN value.
      • withUserDN

        public LdapSearchScopeOpt withUserDN​(String userDN)
        Set the userDN property: This specifies the user DN, which overrides the base DN for user lookups.
        Parameters:
        userDN - the userDN value to set.
        Returns:
        the LdapSearchScopeOpt object itself.
      • groupDN

        public String groupDN()
        Get the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.
        Returns:
        the groupDN value.
      • withGroupDN

        public LdapSearchScopeOpt withGroupDN​(String groupDN)
        Set the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.
        Parameters:
        groupDN - the groupDN value to set.
        Returns:
        the LdapSearchScopeOpt object itself.
      • groupMembershipFilter

        public String groupMembershipFilter()
        Get the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.
        Returns:
        the groupMembershipFilter value.
      • withGroupMembershipFilter

        public LdapSearchScopeOpt withGroupMembershipFilter​(String groupMembershipFilter)
        Set the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.
        Parameters:
        groupMembershipFilter - the groupMembershipFilter value to set.
        Returns:
        the LdapSearchScopeOpt object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.