eu.emi.dsr.security.util
Class AttributeSourcesChain.FirstAccessible
java.lang.Object
eu.emi.dsr.security.util.AttributeSourcesChain.FirstAccessible
- All Implemented Interfaces:
- AttributeSourcesChain.CombiningPolicy
- Enclosing class:
- AttributeSourcesChain
public static class AttributeSourcesChain.FirstAccessible
- extends Object
- implements AttributeSourcesChain.CombiningPolicy
first accessible: the answer from the first accessible attribute source is used. It is
assumed that AttributeSource throws an exception when there is communication error.
NAME
public static final String NAME
- See Also:
- Constant Field Values
AttributeSourcesChain.FirstAccessible
public AttributeSourcesChain.FirstAccessible()
combineAttributes
public boolean combineAttributes(SubjectAttributesHolder master,
SubjectAttributesHolder newAttributes)
- Description copied from interface:
AttributeSourcesChain.CombiningPolicy
- combines new attributes with the already existing ones
- Specified by:
combineAttributes in interface AttributeSourcesChain.CombiningPolicy
- Parameters:
master - - the already existing attributesnewAttributes - - the new attributes
- Returns:
- true if next attribute sources should be evaluated, false if processing should be stopped.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.