org.n52.security.common.protocol
Interface PolicyAdministrationService


public interface PolicyAdministrationService

Author:
drewnak The Policy Administration Service ('PAP' in OASIS terms) provides an interface to policy management, that can be used by the Policy Decision Point (PDP) to access a transparent policy store. Policies and PolicySets are organized in a hierarchical structure where PolicySets are top-level elements of PolicySets and Policies (like directories and files in a file system)

Method Summary
 void add(javax.naming.Name pPath, com.sun.xacml.AbstractPolicy pPolicy)
           
 void delete(javax.naming.Name pPolicyPath)
           
 javax.naming.Name[] getPaths(javax.naming.Name pSuperordinatePolicyPath)
           
 com.sun.xacml.AbstractPolicy[] getPolicies(javax.naming.Name pSuperordinatePolicyPath)
           
 com.sun.xacml.AbstractPolicy getPolicy(javax.naming.Name pPolicyPath)
           
 void update(javax.naming.Name pPolicyPath, com.sun.xacml.AbstractPolicy pPolicy)
           
 

Method Detail

add

public void add(javax.naming.Name pPath,
                com.sun.xacml.AbstractPolicy pPolicy)
         throws javax.naming.NamingException
Throws:
javax.naming.NamingException

delete

public void delete(javax.naming.Name pPolicyPath)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

update

public void update(javax.naming.Name pPolicyPath,
                   com.sun.xacml.AbstractPolicy pPolicy)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getPolicies

public com.sun.xacml.AbstractPolicy[] getPolicies(javax.naming.Name pSuperordinatePolicyPath)
                                           throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getPolicy

public com.sun.xacml.AbstractPolicy getPolicy(javax.naming.Name pPolicyPath)
                                       throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getPaths

public javax.naming.Name[] getPaths(javax.naming.Name pSuperordinatePolicyPath)
                             throws javax.naming.NamingException
Throws:
javax.naming.NamingException


Copyright © 2004-2007 52 North. All Rights Reserved.