org.apache.karaf.jaas.command
Class JaasCommandSupport
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.karaf.jaas.command.JaasCommandSupport
- All Implemented Interfaces:
- Action, BundleContextAware
- Direct Known Subclasses:
- CancelCommand, ListPendingCommand, ListRealmsCommand, ListUsersCommand, ManageRealmCommand, RoleAddCommand, RoleDeleteCommand, UpdateCommand, UserAddCommand, UserDeleteCommand
public abstract class JaasCommandSupport
- extends OsgiCommandSupport
- Author:
- iocanel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAAS_REALM
public static final java.lang.String JAAS_REALM
- See Also:
- Constant Field Values
JAAS_ENTRY
public static final java.lang.String JAAS_ENTRY
- See Also:
- Constant Field Values
JAAS_CMDS
public static final java.lang.String JAAS_CMDS
- See Also:
- Constant Field Values
backingEngineService
protected BackingEngineService backingEngineService
JaasCommandSupport
public JaasCommandSupport()
doExecute
protected abstract java.lang.Object doExecute(BackingEngine engine)
throws Exception
- Throws:
Exception
doExecute
protected java.lang.Object doExecute()
throws Exception
- Add the command to the command queue.
- Specified by:
doExecute
in class AbstractAction
- Returns:
-
- Throws:
Exception
findRealmByName
public JaasRealm findRealmByName(java.lang.String realmName)
- Returns the Jaas Realm named as realmName.
- Parameters:
realmName
-
- Returns:
findEntryByRealmAndName
public javax.security.auth.login.AppConfigurationEntry findEntryByRealmAndName(JaasRealm realm,
java.lang.String moduleName)
- Returns the Jaas Module entry of the specified realm, named as moduleName.
- Parameters:
moduleName
-
- Returns:
getRealms
public java.util.List<JaasRealm> getRealms()
setRealms
public void setRealms(java.util.List<JaasRealm> realms)
getBackingEngineService
public BackingEngineService getBackingEngineService()
setBackingEngineService
public void setBackingEngineService(BackingEngineService backingEngineService)
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.