eu.xtreemos.xosd.security.vops.xacml.request.attributes
Class SubjectAttr
java.lang.Object
eu.xtreemos.xosd.security.vops.xacml.request.attributes.Attributes
eu.xtreemos.xosd.security.vops.xacml.request.attributes.SubjectAttr
- All Implemented Interfaces:
- IAttributes
- Direct Known Subclasses:
- SubjectCertAttr
public class SubjectAttr
- extends Attributes
Fields inherited from class eu.xtreemos.xosd.security.vops.xacml.request.attributes.Attributes |
attributes |
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. certificate, arraylist or some
other object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubjectAttr
public SubjectAttr()
combineAttributes
public void combineAttributes(IAttributes attributes)
- Description copied from interface:
IAttributes
- Combines attributes from interface passed as argument with current
attribute list.
- Specified by:
combineAttributes
in interface IAttributes
- Overrides:
combineAttributes
in class Attributes
getAttributes
public java.util.ArrayList<com.sun.xacml.ctx.Attribute> getAttributes()
- Specified by:
getAttributes
in interface IAttributes
- Overrides:
getAttributes
in class Attributes
- Returns:
- All attributes as list of XACML Attributes
initializeAttributes
public void initializeAttributes(java.lang.Object source)
throws java.lang.Exception
- Description copied from interface:
IAttributes
- Initializes attributes from source (e.g. certificate, arraylist or some
other object.
If object is not instance of expected class, an exception is thrown.
- Specified by:
initializeAttributes
in interface IAttributes
- Overrides:
initializeAttributes
in class Attributes
- Throws:
java.lang.Exception
addAttribute
public void addAttribute(com.sun.xacml.ctx.Attribute attribute)
- Description copied from interface:
IAttributes
- Adds an attribute to list of attributes
- Specified by:
addAttribute
in interface IAttributes
- Overrides:
addAttribute
in class Attributes
addAttributes
public void addAttributes(java.util.ArrayList<com.sun.xacml.ctx.Attribute> attributes)
- Description copied from interface:
IAttributes
- Adds a list of XACML attributes into master list.\
- Specified by:
addAttributes
in interface IAttributes
- Overrides:
addAttributes
in class Attributes