public void addPreferredAuthPolicy(String policyUri){
  String policies=getPreferredAuthPolicies();
  if (policies == null || policies.length() == 0)   setPreferredAuthPolicies(policyUri);
 else   setPreferredAuthPolicies(policies + " " + policyUri);
}

public void addPreferredAuthPolicy ( String policyUri ) { String policies = getPreferredAuthPolicies ( ) ; if ( policies == null || policies . length ( ) == 0 ) setPreferredAuthPolicies ( policyUri ) ; else setPreferredAuthPolicies ( policies + " " + policyUri ) ; }
adds an authentication policy uri to the preferred_auth_policies parameter .
