org.apache.geronimo.security.remoting.jmx
Class JaasLoginServiceRemotingServer

java.lang.Object
  extended by org.apache.geronimo.security.remoting.jmx.JaasLoginServiceRemotingServer
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.geronimo.NetworkConnector

public class JaasLoginServiceRemotingServer
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.geronimo.NetworkConnector

A server-side utility that exposes a JaasLoginService to remote clients. It prevents clients from connecting to arbitrary server-side MBeans through this listener -- only the JaasLoginService is exposed.


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
static ObjectName REQUIRED_OBJECT_NAME
           
 
Constructor Summary
JaasLoginServiceRemotingServer(String protocol, String host, int port, JaasLoginServiceMBean loginService)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 URI getClientConnectURI()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getHost()
           
 InetSocketAddress getListenAddress()
           
 int getPort()
           
 String getProtocol()
           
 void setHost(String host)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUIRED_OBJECT_NAME

public static final ObjectName REQUIRED_OBJECT_NAME

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

JaasLoginServiceRemotingServer

public JaasLoginServiceRemotingServer(String protocol,
                                      String host,
                                      int port,
                                      JaasLoginServiceMBean loginService)
Method Detail

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface org.apache.geronimo.management.geronimo.NetworkConnector

setProtocol

public void setProtocol(String protocol)

getHost

public String getHost()
Specified by:
getHost in interface org.apache.geronimo.management.geronimo.NetworkConnector

setHost

public void setHost(String host)
Specified by:
setHost in interface org.apache.geronimo.management.geronimo.NetworkConnector

getPort

public int getPort()
Specified by:
getPort in interface org.apache.geronimo.management.geronimo.NetworkConnector

setPort

public void setPort(int port)
Specified by:
setPort in interface org.apache.geronimo.management.geronimo.NetworkConnector

getClientConnectURI

public URI getClientConnectURI()

getListenAddress

public InetSocketAddress getListenAddress()
Specified by:
getListenAddress in interface org.apache.geronimo.management.geronimo.NetworkConnector

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.