org.codehaus.mojo.was6
Class Role

java.lang.Object
  extended by org.codehaus.mojo.was6.Role

public class Role
extends Object

This is used to for when an application is being installed to map a role name in an application to a container group / user.

Since:
2009-08-06
Author:
Jim Sellers

Constructor Summary
Role()
          Default constructor used by maven.
Role(String roleName, boolean everyone, boolean allAuth, List users, List groups)
          Constructor used by the unit tests.
 
Method Summary
 String getRoleMapping()
          In the form from IBM techjournal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()
Default constructor used by maven.


Role

public Role(String roleName,
            boolean everyone,
            boolean allAuth,
            List users,
            List groups)
Constructor used by the unit tests.

Parameters:
roleName -
everyone -
allAuth -
users -
groups -
Method Detail

getRoleMapping

public String getRoleMapping()
In the form from IBM techjournal.

Returns:
This will return a string in the form: {role, role.everyone, role.all.auth.user, role.user, role.group} to be used with the MapRolesToUsers.


Copyright © 2007-2012 Codehaus. All Rights Reserved.