org.objectweb.jonas.security
Class JonasSecurityServiceImpl
java.lang.Object
|
+--org.objectweb.jonas.service.AbsServiceImpl
|
+--org.objectweb.jonas.security.JonasSecurityServiceImpl
- All Implemented Interfaces:
- JonasSecurityServiceImplMBean, SecurityService, Service
- public class JonasSecurityServiceImpl
- extends AbsServiceImpl
- implements SecurityService, JonasSecurityServiceImplMBean
Security Service implementation
Method Summary |
void |
deployBean(java.lang.String containerName,
BeanDesc bd)
Set the security attributes for the bean being deployed. |
void |
doInit(javax.naming.Context ctx)
Init the Service. |
void |
doStart()
Start the Service
Initialization of the service is already done. |
void |
doStop()
Stop the Service |
java.security.Guard |
getMethodGuard(java.lang.String containerName)
Returns the MethodGuard for the given Container |
java.util.Hashtable |
getPrincipalDeclarativeRoleMapping()
MBean Method |
java.security.Guard |
getRoleGuard(java.lang.String containerName)
Returns the RoleGuard for the given Container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JonasSecurityServiceImpl
public JonasSecurityServiceImpl()
doInit
public void doInit(javax.naming.Context ctx)
throws ServiceException
- Init the Service.
Configuration information is passed thru a Context object.
- Overrides:
doInit
in class AbsServiceImpl
doStart
public void doStart()
throws ServiceException
- Start the Service
Initialization of the service is already done.
- Overrides:
doStart
in class AbsServiceImpl
doStop
public void doStop()
- Stop the Service
- Overrides:
doStop
in class AbsServiceImpl
getMethodGuard
public java.security.Guard getMethodGuard(java.lang.String containerName)
- Returns the MethodGuard for the given Container
- Specified by:
getMethodGuard
in interface SecurityService
getRoleGuard
public java.security.Guard getRoleGuard(java.lang.String containerName)
- Returns the RoleGuard for the given Container
- Specified by:
getRoleGuard
in interface SecurityService
deployBean
public void deployBean(java.lang.String containerName,
BeanDesc bd)
- Set the security attributes for the bean being deployed.
- Specified by:
deployBean
in interface SecurityService
getPrincipalDeclarativeRoleMapping
public java.util.Hashtable getPrincipalDeclarativeRoleMapping()
- MBean Method
- Specified by:
getPrincipalDeclarativeRoleMapping
in interface JonasSecurityServiceImplMBean
- Returns:
- Hashtable of correpondences between pricipal and declarative roles