com.ibm.sec.authz.jaccplus.config
Class RoleMappingConfigurationFactory

java.lang.Object
  extended by com.ibm.sec.authz.jaccplus.config.RoleMappingConfigurationFactory

public class RoleMappingConfigurationFactory
extends java.lang.Object

Factory for getting an instance of an object to configure mappings between users/groups and roles.

Usage example to create the object for configuring mappings between users/groups and roles:

 RoleMappingConfigurationFactory rcf = new RoleMappingConfigurationFactory();
 RoleMappingConfiguration rc = rcf.getRoleMappingConfiguration( context, true );
    
 < code to manipulate role mappings. See RoleMappingConfiguration>
     
 //Commit the changes to the underlying policy
 rc.commit();
 

See Also:
RoleMappingConfiguration

Constructor Summary
RoleMappingConfigurationFactory()
           
RoleMappingConfigurationFactory(java.util.Properties props)
           
 
Method Summary
 RoleMappingConfiguration getRoleMappingConfiguration(java.lang.String contextId, boolean delete)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleMappingConfigurationFactory

public RoleMappingConfigurationFactory()

RoleMappingConfigurationFactory

public RoleMappingConfigurationFactory(java.util.Properties props)
Method Detail

getRoleMappingConfiguration

public RoleMappingConfiguration getRoleMappingConfiguration(java.lang.String contextId,
                                                            boolean delete)
                                                     throws javax.security.jacc.PolicyContextException
Throws:
javax.security.jacc.PolicyContextException


Copyright © 2009 IBM Corp. All Rights Reserved.