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 bindResource(java.lang.String name, JResource resource)
          Bind the given resource with the given name.
 JResource getJResource(java.lang.String name)
          Return a resource by giving its name
 java.lang.String toXML()
          String representation of the JOnAS realm
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Method Detail

getJResource

public JResource getJResource(java.lang.String name)
Return a resource by giving its name

Parameters:
name - the wanted Resource
Returns:
a JResouce

toXML

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

Returns:
the xml representation of the JOnAS realm

bindResource

public void bindResource(java.lang.String name,
                         JResource resource)
Bind the given resource with the given name.

Parameters:
name - resource name
resource - resource