org.apache.karaf.jaas.command
Class RoleAddCommand
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.karaf.jaas.command.JaasCommandSupport
org.apache.karaf.jaas.command.RoleAddCommand
- All Implemented Interfaces:
- Action, BundleContextAware
public class RoleAddCommand
- extends JaasCommandSupport
Adds a role to a user of the active realm/module.
- Author:
- iocanel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RoleAddCommand
public RoleAddCommand()
doExecute
protected java.lang.Object doExecute(BackingEngine engine)
throws Exception
- Execute the RoleAddCommand in the given Excecution Context.
- Specified by:
doExecute
in class JaasCommandSupport
- Parameters:
engine
-
- Returns:
-
- Throws:
Exception
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.