org.jboss.security.auth.login
Interface DynamicLoginConfigMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
DynamicLoginConfig

public interface DynamicLoginConfigMBean
extends org.jboss.system.ServiceMBean

The management interface for the DynamicLoginConfig service.

Version:
$Revision: 57203 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 void flushAuthenticationCaches()
          Flush the caches of the security domains that have been registered by this service.
 String getAuthConfig()
          Get the resource path to the JAAS login configuration file to use.
 javax.management.ObjectName getLoginConfigService()
          Get the XMLLoginConfig service to use for loading.
 PolicyConfig getPolicyConfig()
          Get the embedded PolicyConfig
 javax.management.ObjectName getSecurityManagerService()
          Get the SecurityManagerService used to flush the registered security domains.
 void setAuthConfig(String authConf)
          Set the resource path to the JAAS login configuration file to use.
 void setLoginConfigService(javax.management.ObjectName serviceName)
          Get the XMLLoginConfig service to use for loading.
 void setPolicyConfig(PolicyConfig config)
          Set the embedded PolicyConfig
 void setSecurityManagerService(javax.management.ObjectName serviceName)
          Set the SecurityManagerService used to flush the registered security domains.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getPolicyConfig

PolicyConfig getPolicyConfig()
Get the embedded PolicyConfig

Returns:
the PolicyConfig if it was specified, null otherwise.

setPolicyConfig

void setPolicyConfig(PolicyConfig config)
Set the embedded PolicyConfig

Parameters:
config - - the embedded PolicyConfig object

getAuthConfig

String getAuthConfig()
Get the resource path to the JAAS login configuration file to use.


setAuthConfig

void setAuthConfig(String authConf)
Set the resource path to the JAAS login configuration file to use.

Parameters:
authConf - - the classpath resource to load.

getLoginConfigService

javax.management.ObjectName getLoginConfigService()
Get the XMLLoginConfig service to use for loading.

Returns:
the XMLLoginConfig service name.

setLoginConfigService

void setLoginConfigService(javax.management.ObjectName serviceName)
Get the XMLLoginConfig service to use for loading. This service must support a String[] loadConfig(URL) operation to load the configurations.

Parameters:
serviceName - - the XMLLoginConfig service name.

flushAuthenticationCaches

void flushAuthenticationCaches()
                               throws Exception
Flush the caches of the security domains that have been registered by this service.

Throws:
Exception

getSecurityManagerService

javax.management.ObjectName getSecurityManagerService()
Get the SecurityManagerService used to flush the registered security domains.

Returns:
the SecurityManagerService service name.

setSecurityManagerService

void setSecurityManagerService(javax.management.ObjectName serviceName)
Set the SecurityManagerService used to flush the registered security domains. This service must support an flushAuthenticationCache(String) operation to flush the case for the argument security domain. Setting this triggers the flush of the authentication caches when the service is stopped.

Parameters:
serviceName - - the SecurityManagerService service name.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.