Package org.rhq.enterprise.communications.command.server

Examples of org.rhq.enterprise.communications.command.server.CommandAuthenticator


        for (CommandListener listener : m_commandListeners) {
            handler.addCommandListener(listener);
        }

        CommandAuthenticator commandAuthenticator = m_configuration.getCommandAuthenticator();
        if (commandAuthenticator != null) {
            commandAuthenticator.setServiceContainer(this);
            handler.setCommandAuthenticator(commandAuthenticator);
        }
        m_connector.addInvocationHandler(SUBSYSTEM, handler);
        m_connector.start();
View Full Code Here


     * @return command authenticator object instance or <code>null</code> if no authenticator is configured
     *
     * @throws Exception if failed to instantiate the configured class name
     */
    public CommandAuthenticator getCommandAuthenticator() throws Exception {
        CommandAuthenticator obj = null;
        String value = m_preferences.get(ServiceContainerConfigurationConstants.COMMAND_AUTHENTICATOR, "");

        if ((value != null) && (value.length() > 0)) {
            obj = (CommandAuthenticator) Class.forName(value).newInstance();
        }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.communications.command.server.CommandAuthenticator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.