org.apache.jetspeed.appservers.security.jboss
Class JetspeedSecurityService

java.lang.Object
  extended byorg.apache.jetspeed.appservers.security.jboss.JetspeedSecurityService
All Implemented Interfaces:
JetspeedSecurityServiceMBean

public class JetspeedSecurityService
extends Object
implements JetspeedSecurityServiceMBean


Field Summary
private  org.springframework.context.support.GenericApplicationContext ctx
           
private  String JCD_ALIAS
           
 
Constructor Summary
JetspeedSecurityService()
          Create a new security service.
 
Method Summary
private  org.apache.ojb.broker.metadata.JdbcConnectionDescriptor findJcd()
           
 String getDataSourceJndiName()
          Get the JNDI name of the DataSource used to access the database.
 org.apache.jetspeed.security.UserManager getUserManager()
          Get the user manager.
 void setDataSourceJndiName(String jndiName)
          Set the JNDI name of the DataSource to be used to access the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JCD_ALIAS

private final String JCD_ALIAS
See Also:
Constant Field Values

ctx

private org.springframework.context.support.GenericApplicationContext ctx
Constructor Detail

JetspeedSecurityService

public JetspeedSecurityService()
Create a new security service. The service's implementation is based on a Spring application that is assembled from the configuration files in META-INF/jboss-secsvc.

Method Detail

findJcd

private org.apache.ojb.broker.metadata.JdbcConnectionDescriptor findJcd()

setDataSourceJndiName

public void setDataSourceJndiName(String jndiName)
Set the JNDI name of the DataSource to be used to access the database.

Specified by:
setDataSourceJndiName in interface JetspeedSecurityServiceMBean
Parameters:
jndiName -

getDataSourceJndiName

public String getDataSourceJndiName()
Get the JNDI name of the DataSource used to access the database.

Specified by:
getDataSourceJndiName in interface JetspeedSecurityServiceMBean
Returns:
jndiName

getUserManager

public org.apache.jetspeed.security.UserManager getUserManager()
Description copied from interface: JetspeedSecurityServiceMBean
Get the user manager.

Specified by:
getUserManager in interface JetspeedSecurityServiceMBean
Returns:
user manager
See Also:
JetspeedSecurityServiceMBean.getUserManager()


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