Enable application groups

Application groups is a concept that allows you to define user groups within the database user registry with members (users or groups) contained in the federated LDAP user registry you configured. The benefit of application groups is that you can create Groups that are only used in WebSphere Portal.

Run the wp-create-db task to add all required federated database user registries and run the wp-create-ldap task to add all required federated LDAP user registries to meet business requirements before enabling application groups. You must also set the Group entity type to the database user registry and the Person entity type to the LDAP user registry.

You can use application groups in the following scenarios:
Read-only LDAP


Special group setup for WebSphere Portal

Application groups only apply to WebSphere Portal; it does not apply to external security managers. Also, application groups is not supported when using the default federated repository with a built-in file repository.

To enable application groups:

  1. Run the following task to enable application groups:

    Task to enable application groups by OS

    OS Task
    Windows™ ConfigEngine.bat wp-update-group-repository-relationship -DWasPassword=foo -Drepository.id=ldapid -Drepository.forgroups=dbid from the WP_PROFILE/ConfigEngine
    UNIX™ ./ConfigEngine.sh wp-update-group-repository-relationship -DWasPassword=foo -Drepository.id=ldapid -Drepository.forgroups=dbid from the WP_PROFILE/ConfigEngine
    IBM i ConfigEngine.sh wp-update-group-repository-relationship -DWasPassword=foo -Drepository.id=ldapid -Drepository.forgroups=dbid from the WP_PROFILE/ConfigEngine

    where ldapid is the value specified in federated.ldap.id when running the wp-create-ldap task and where dbid is the value specified in federated.db.id when running the wp-create-db task.

  2. To stop and restart the server1 and WebSphere_Portal servers, where server1 is the name of the WAS and WebSphere_Portal is the name of the WebSphere Portal server:

    1. Open a command prompt and change to the following directory:

        Windows: WP_PROFILE/bin

        UNIX: WP_PROFILE/bin

        IBM i: WP_PROFILE/bin

    2. Enter the following command to stop the WAS:

        Windows: stopServer.bat server1 -username admin_userid -password foo

        UNIX: ./stopServer.sh server1 -username admin_userid -password foo

        IBM i: stopServer server1 -username admin_userid -password foo

    3. Enter the following command to stop the WebSphere_Portal server, where WebSphere_Portal is the name of the WebSphere Portal server:

        Windows: stopServer.bat WebSphere_Portal -username admin_userid -password foo

        UNIX: ./stopServer.sh WebSphere_Portal -username admin_userid -password foo

        IBM i: stopServer WebSphere_Portal -username admin_userid -password foo

    4. Enter the following command to start the WAS:

    5. Enter the following command to start the WebSphere_Portal server, where WebSphere_Portal is the name of the WebSphere Portal server:

        Windows: startServer.bat WebSphere_Portal

        UNIX: ./startServer.sh WebSphere_Portal

        IBM i: startServer WebSphere_Portal


Parent

Manage user data

 


+

Search Tips   |   Advanced Search