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

Method Detail

getJResource

JResource getJResource(String name)
Return a resource by giving its name

Parameters:
name - the wanted Resource
Returns:
a JResouce

toXML

String toXML()
String representation of the JOnAS realm

Returns:
the xml representation of the JOnAS realm

bindResource

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

Parameters:
name - resource name
resource - resource


Copyright © 2010 OW2 Consortium. All Rights Reserved.