org.objectweb.jonas.security
Interface SecurityService

All Superinterfaces:
Service
All Known Implementing Classes:
JonasSecurityServiceImpl

public interface SecurityService
extends Service

Defines the interface for the security service


Method Summary
 void deployBean(java.lang.String containerName, BeanDesc bd)
          Set the security attributes for the bean being deployed.
 JResource getJResource(java.lang.String name)
           
 java.security.Guard getMethodGuard(java.lang.String containerName)
          Returns the MethodGuard for the given Container
 java.security.Guard getRoleGuard(java.lang.String containerName)
          Returns the RoleGuard for the given Container
 java.lang.String toXML()
          String representation of the LDAP realm
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Method Detail

deployBean

public void deployBean(java.lang.String containerName,
                       BeanDesc bd)
Set the security attributes for the bean being deployed.

Parameters:
containerName - The container the bean is deployed in
bd - The bean descriptor

getMethodGuard

public java.security.Guard getMethodGuard(java.lang.String containerName)
Returns the MethodGuard for the given Container

Parameters:
containerName - The container name
Returns:
the MethodGuard for the given Container

getRoleGuard

public java.security.Guard getRoleGuard(java.lang.String containerName)
Returns the RoleGuard for the given Container

Parameters:
containerName - The container name
Returns:
the RoleGuard for the given Container

getJResource

public JResource getJResource(java.lang.String name)

toXML

public java.lang.String toXML()
String representation of the LDAP realm

Returns:
the xml representation of the LDAP realm