org.objectweb.proactive.ext.security.domain
Interface SecurityDomain

All Superinterfaces:
SecurityEntity
All Known Implementing Classes:
DomainImpl

public interface SecurityDomain
extends SecurityEntity

Author:
Arnaud Contes A domain is used to enforce a security policy to a set of Runtimes

Method Summary
 byte[] getCertificateEncoded()
          Entity's X509Certificate as byte array
 java.util.ArrayList<Entity> getEntities()
          Retrieves all the entity's ID which contain this entity plus this entity ID.
 java.lang.String getName()
           
 SecurityContext getPolicy(SecurityContext securityContext)
          Ask the entity to fill the securityContext parameters with its own policy according to the communication details contained in the given securityContext
 
Methods inherited from interface org.objectweb.proactive.ext.security.SecurityEntity
getCertificate, getPublicKey, publicKeyExchange, randomValue, secretKeyExchange, startNewSession, terminateSession
 

Method Detail

getPolicy

SecurityContext getPolicy(SecurityContext securityContext)
Description copied from interface: SecurityEntity
Ask the entity to fill the securityContext parameters with its own policy according to the communication details contained in the given securityContext

Specified by:
getPolicy in interface SecurityEntity
Parameters:
securityContext -
Returns:
returns the policy matching the corresponding securityContext

getCertificateEncoded

byte[] getCertificateEncoded()
                             throws SecurityNotAvailableException
Description copied from interface: SecurityEntity
Entity's X509Certificate as byte array

Specified by:
getCertificateEncoded in interface SecurityEntity
Returns:
returns the certificate of the entity corresponding to this domain
Throws:
SecurityNotAvailableException

getEntities

java.util.ArrayList<Entity> getEntities()
                                        throws SecurityNotAvailableException
Description copied from interface: SecurityEntity
Retrieves all the entity's ID which contain this entity plus this entity ID.

Specified by:
getEntities in interface SecurityEntity
Returns:
returns the set of wrapping entities
Throws:
SecurityNotAvailableException

getName

java.lang.String getName()
Returns:
Returns the name of the domain.


Copyright 2001-2007 INRIA All Rights Reserved.