Methods Summary |
---|
protected void | addCustomMappings(com.sun.enterprise.management.support.AMXAttributeNameMapper mapper)
super.addCustomMappings( mapper );
mapper.matchName( "PrincipalNames", "Principal" );
mapper.matchName( "UserGroupNames", "UserGroup" );
|
public void | createPrincipal(java.lang.String principal)
final String[] existing = self().getPrincipalNames();
final Set<String> newSet = GSetUtil.newSet( existing );
newSet.add( principal );
final String[] newOnes = GSetUtil.toStringArray( newSet );
delegateSetAttributeNoThrow( "PrincipalNames", newOnes );
|
public void | createUserGroup(java.lang.String userGroup)
final String[] existing = self().getUserGroupNames();
final Set<String> newSet = GSetUtil.newSet( existing );
newSet.add( userGroup );
final String[] newOnes = GSetUtil.toStringArray( newSet );
delegateSetAttributeNoThrow( "UserGroupNames", newOnes );
|
public void | removePrincipal(java.lang.String principal)
final String[] existing = self().getPrincipalNames();
final Set<String> newSet = GSetUtil.newSet( existing );
newSet.remove( principal );
final String[] newOnes = GSetUtil.toStringArray( newSet );
delegateSetAttributeNoThrow( "PrincipalNames", newOnes );
|
public void | removeUserGroup(java.lang.String userGroup)
final String[] existing = self().getUserGroupNames();
final Set<String> newSet = GSetUtil.newSet( existing );
newSet.remove( userGroup );
final String[] newOnes = GSetUtil.toStringArray( newSet );
delegateSetAttributeNoThrow( "UserGroupNames", newOnes );
|
private com.sun.appserv.management.config.SecurityMapConfig | self()
return (SecurityMapConfig)getSelf();
|