org.glassfish.admin.rest.cli
Class CreatePrincipalCommand
java.lang.Object
org.glassfish.admin.rest.cli.CreatePrincipalCommand
- All Implemented Interfaces:
- AdminCommand
- Direct Known Subclasses:
- DeletePrincipalCommand
@Service(name="__create-principal")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class CreatePrincipalCommand
- extends java.lang.Object
- implements AdminCommand
- Author:
- jasonlee
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain
protected Domain domain
poolName
protected java.lang.String poolName
mapName
protected java.lang.String mapName
principals
protected java.lang.String[] principals
ccPools
protected ConnectorConnectionPool[] ccPools
CreatePrincipalCommand
public CreatePrincipalCommand()
execute
public void execute(AdminCommandContext context)
- Specified by:
execute in interface AdminCommand
getSpecifiedSecurityMapForPool
public static SecurityMap getSpecifiedSecurityMapForPool(ConnectorConnectionPool[] ccPools,
java.lang.String poolName,
java.lang.String mapName)
Copyright © 2012 GlassFish Community. All Rights Reserved.