Class LdapGroupProperties.Mappings

  • Enclosing class:
    LdapGroupProperties

    public static class LdapGroupProperties.Mappings
    extends java.lang.Object
    Some properties are allowed to be a Collection, this means that this particular property would come from one of those attributes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String defaultTenantId
      The default tenant id that should be used in case no property is mapped from LDAP.
      protected java.lang.String distinguishedName
      The LDAP attribute name for the distinguished name property.
      protected java.util.Collection<java.lang.String> id
      The potential LDAP attributes for the id of the group.
      protected java.util.Collection<java.lang.String> key
      The potential LDAP attributes for the key of the group.
      protected java.lang.String member
      The LDAP attribute name for the member mapping.
      protected java.util.Collection<java.lang.String> name
      The potential LDAP attributes for the name of the group.
      protected java.util.Collection<java.lang.String> tenantId
      The potential LDAP attributes for the tenant id of the group.
      protected java.util.Collection<java.lang.String> type
      The potential LDAP attributes for the type of the group.
      protected java.util.Map<java.lang.String,​java.lang.String> valueTenantId
      Mapping between the value which is returned by the tenant id mapping into the tenant value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Mappings()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> determineId()  
      java.util.Collection<java.lang.String> determineKey()  
      java.lang.String getDefaultTenantId()  
      java.lang.String getDistinguishedName()  
      java.util.Collection<java.lang.String> getId()  
      java.util.Collection<java.lang.String> getKey()  
      java.lang.String getMember()  
      java.util.Collection<java.lang.String> getName()  
      java.util.Collection<java.lang.String> getTenantId()  
      java.util.Collection<java.lang.String> getType()  
      java.util.Map<java.lang.String,​java.lang.String> getValueTenantId()  
      void setDefaultTenantId​(java.lang.String defaultTenantId)  
      void setDistinguishedName​(java.lang.String distinguishedName)  
      void setId​(java.util.Collection<java.lang.String> id)  
      void setKey​(java.util.Collection<java.lang.String> key)  
      void setMember​(java.lang.String member)  
      void setName​(java.util.Collection<java.lang.String> name)  
      void setTenantId​(java.util.Collection<java.lang.String> tenantId)  
      void setType​(java.util.Collection<java.lang.String> type)  
      void setValueTenantId​(java.util.Map<java.lang.String,​java.lang.String> valueTenantId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • defaultTenantId

        protected java.lang.String defaultTenantId
        The default tenant id that should be used in case no property is mapped from LDAP.
      • valueTenantId

        protected java.util.Map<java.lang.String,​java.lang.String> valueTenantId
        Mapping between the value which is returned by the tenant id mapping into the tenant value. This allows mapping multiple values into a single tenant.
      • distinguishedName

        protected java.lang.String distinguishedName
        The LDAP attribute name for the distinguished name property.
      • member

        protected java.lang.String member
        The LDAP attribute name for the member mapping.
      • id

        protected java.util.Collection<java.lang.String> id
        The potential LDAP attributes for the id of the group. The first property that is present would be used.
      • key

        protected java.util.Collection<java.lang.String> key
        The potential LDAP attributes for the key of the group. The first property that is present would be used.
      • name

        protected java.util.Collection<java.lang.String> name
        The potential LDAP attributes for the name of the group. The first property that is present would be used.
      • type

        protected java.util.Collection<java.lang.String> type
        The potential LDAP attributes for the type of the group. The first property that is present would be used.
      • tenantId

        protected java.util.Collection<java.lang.String> tenantId
        The potential LDAP attributes for the tenant id of the group. The first property that is present would be used.
    • Constructor Detail

      • Mappings

        public Mappings()
    • Method Detail

      • getDefaultTenantId

        public java.lang.String getDefaultTenantId()
      • setDefaultTenantId

        public void setDefaultTenantId​(java.lang.String defaultTenantId)
      • getValueTenantId

        public java.util.Map<java.lang.String,​java.lang.String> getValueTenantId()
      • setValueTenantId

        public void setValueTenantId​(java.util.Map<java.lang.String,​java.lang.String> valueTenantId)
      • getDistinguishedName

        public java.lang.String getDistinguishedName()
      • setDistinguishedName

        public void setDistinguishedName​(java.lang.String distinguishedName)
      • getMember

        public java.lang.String getMember()
      • setMember

        public void setMember​(java.lang.String member)
      • getId

        public java.util.Collection<java.lang.String> getId()
      • setId

        public void setId​(java.util.Collection<java.lang.String> id)
      • getKey

        public java.util.Collection<java.lang.String> getKey()
      • setKey

        public void setKey​(java.util.Collection<java.lang.String> key)
      • getName

        public java.util.Collection<java.lang.String> getName()
      • setName

        public void setName​(java.util.Collection<java.lang.String> name)
      • getType

        public java.util.Collection<java.lang.String> getType()
      • setType

        public void setType​(java.util.Collection<java.lang.String> type)
      • getTenantId

        public java.util.Collection<java.lang.String> getTenantId()
      • setTenantId

        public void setTenantId​(java.util.Collection<java.lang.String> tenantId)
      • determineKey

        public java.util.Collection<java.lang.String> determineKey()
      • determineId

        public java.util.Collection<java.lang.String> determineId()