org.apache.geronimo.security
Class SecurityService

java.lang.Object
  extended byorg.apache.geronimo.security.SecurityService
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, SecurityServiceMBean

public class SecurityService
extends Object
implements SecurityServiceMBean, org.apache.geronimo.gbean.GBeanLifecycle

An MBean that maintains a list of security realms.

Version:
$Revision: 1.12 $ $Date: 2004/07/12 06:07:51 $

Field Summary
static GeronimoSecurityPermission CONFIGURE
          Permissions that protect access to sensitive security information
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
static javax.management.ObjectName SECURITY
          The JMX name of the SecurityService.
 
Constructor Summary
SecurityService()
           
SecurityService(String policyConfigurationFactory)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 Collection getModuleConfigurations()
           
 String getPolicyConfigurationFactory()
           
 Collection getRealms()
           
 void setModuleConfigurations(Collection moduleConfigurations)
           
 void setPolicyConfigurationFactory(String policyConfigurationFactory)
           
 void setRealms(Collection realms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECURITY

public static final javax.management.ObjectName SECURITY
The JMX name of the SecurityService.


CONFIGURE

public static final GeronimoSecurityPermission CONFIGURE
Permissions that protect access to sensitive security information


GBEAN_INFO

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

SecurityService

public SecurityService()

SecurityService

public SecurityService(String policyConfigurationFactory)
Method Detail

getPolicyConfigurationFactory

public String getPolicyConfigurationFactory()
Specified by:
getPolicyConfigurationFactory in interface SecurityServiceMBean

setPolicyConfigurationFactory

public void setPolicyConfigurationFactory(String policyConfigurationFactory)
Specified by:
setPolicyConfigurationFactory in interface SecurityServiceMBean

getRealms

public Collection getRealms()
                     throws GeronimoSecurityException
Specified by:
getRealms in interface SecurityServiceMBean
Throws:
GeronimoSecurityException

setRealms

public void setRealms(Collection realms)
Specified by:
setRealms in interface SecurityServiceMBean

getModuleConfigurations

public Collection getModuleConfigurations()
Specified by:
getModuleConfigurations in interface SecurityServiceMBean

setModuleConfigurations

public void setModuleConfigurations(Collection moduleConfigurations)
Specified by:
setModuleConfigurations in interface SecurityServiceMBean

doStart

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

doStop

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

doFail

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

getGBeanInfo

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


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.