eu.xtreemos.xosd.vops.xacml.interfaces
Interface IAttributes

All Known Subinterfaces:
IActionAttributes, IResourceAttributes, ISubjectAttributes
All Known Implementing Classes:
ActionAttr, Attributes, ResourceAttr, ResourceCertAttr, SubjectAttr, SubjectCertAttr, SubjectJSDLAttr

public interface IAttributes

Interface for generating XACML request.

Author:
ales.cernivec@xlab.si

Method Summary
 void addAttribute(com.sun.xacml.ctx.Attribute attribute)
          Adds an attribute to list of attributes
 void addAttributes(java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes)
          Adds a list of XACML attributes into master list.\
 void combineAttributes(IAttributes attributes)
          Combines attributes from interface passed as argument with current attribute list.
 java.util.ArrayList<com.sun.xacml.ctx.Attribute> getAttributes()
           
 void initializeAttributes(java.lang.Object source)
          Initializes attributes from source (e.g.
 

Method Detail

getAttributes

java.util.ArrayList<com.sun.xacml.ctx.Attribute> getAttributes()
Returns:
All attributes as list of XACML Attributes

addAttribute

void addAttribute(com.sun.xacml.ctx.Attribute attribute)
Adds an attribute to list of attributes

Parameters:
Attribute - to add into a list of params

addAttributes

void addAttributes(java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes)
Adds a list of XACML attributes into master list.\

Parameters:
Attributes - to add into a list

initializeAttributes

void initializeAttributes(java.lang.Object source)
                          throws java.lang.Exception
Initializes attributes from source (e.g. certificate, arraylist or some other object.

If object is not instance of expected class, an exception is thrown.

Parameters:
source -
Throws:
java.lang.Exception

combineAttributes

void combineAttributes(IAttributes attributes)
Combines attributes from interface passed as argument with current attribute list.

Parameters:
attributes -