public static GetEffectiveRightsRequestControl newControl(final boolean isCritical,final DN authorizationName,final Collection<AttributeType> attributes){
  Reject.ifNull(attributes);
  final Collection<AttributeType> copyOfAttributes=Collections.unmodifiableList(new ArrayList<AttributeType>(attributes));
  return new GetEffectiveRightsRequestControl(isCritical,authorizationName,copyOfAttributes);
}

public static GetEffectiveRightsRequestControl newControl ( final boolean isCritical , final DN authorizationName , final Collection < AttributeType > attributes ) { Reject . ifNull ( attributes ) ; final Collection < AttributeType > copyOfAttributes = Collections . unmodifiableList ( new ArrayList < AttributeType > ( attributes ) ) ; return new GetEffectiveRightsRequestControl ( isCritical , authorizationName , copyOfAttributes ) ; }
creates a new get effective rights request control with the provided criticality , optional authorization name and attribute list .
