Addition of an Active Authentication Provider

Adds an active authentication provider.

Syntax

public void addActiveAuthenticationProvider(SecurityProviderVO securityProvider) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Add active authentication provider
    supSecConf.refresh();
    
    SecurityProviderVO spvo = new SecurityProviderVO(
    		"com.sybase.security.ldap.LDAPLoginModule");
    Map<String, String> properties = new HashMap<String, String>();
    spvo.setProperties(properties);
    //Mandatory properties.
    properties.put("implementationClass",
    		"com.sybase.security.ldap.LDAPLoginModule");
    properties.put("providerType", "LoginModule");
    properties.put("ProviderURL", "ldap://localhost:389");
    properties.put("controlFlag", "optional");
    //Optional properties.
    properties.put("ServerType", "sunone5");
    	
    spvo.setProperties(properties);
    supSecConf.addActiveAuthenticationProvider(spvo);
    supSecConf.commit();