public void setRDNAttributes ( List < Map < String , Object > > rdnAttrList ) throws MissingInitPropertyException { int size = rdnAttrList . size ( ) ; // if size = 0, No RDN attributes defined. Same as RDN properties. if ( size > 0 ) { iRDNAttrs = new String [ size ] [ ] ; iRDNObjectClass = new String [ size ] [ ] ; if ( size == 1 ) { Map < String , Object > rdnAttr = rdnAttrList . get ( 0 ) ; String [ ] rdns = LdapHelper . getRDNs ( ( String ) rdnAttr . get ( ConfigConstants . CONFIG_PROP_NAME ) ) ; iRDNAttrs [ 0 ] = rdns ; } else { int i = 0 ; for ( Map < String , Object > rdnAttr : rdnAttrList ) { String name = ( String ) rdnAttr . get ( ConfigConstants . CONFIG_PROP_NAME ) ; String [ ] rdns = LdapHelper . getRDNs ( name ) ; iRDNAttrs [ i ] = rdns ; String [ ] objCls = ( String [ ] ) rdnAttr . get ( ConfigConstants . CONFIG_PROP_OBJECTCLASS ) ; if ( objCls == null ) { throw new MissingInitPropertyException ( WIMMessageKey . MISSING_INI_PROPERTY , Tr . formatMessage ( tc , WIMMessageKey . MISSING_INI_PROPERTY , WIMMessageHelper . generateMsgParms ( ConfigConstants . CONFIG_PROP_OBJECTCLASS ) ) ) ; } else { iRDNObjectClass [ i ] = objCls ; } i ++ ; } } } }
Sets the RDN attribute types of this member type . RDN attribute types will be converted to lower case .