com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class AudienceRestrictionCondition

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.ConditionAbstractType
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AudienceRestrictionConditionType
          extended by com.sun.xml.wss.saml.assertion.saml11.jaxb20.AudienceRestrictionCondition
All Implemented Interfaces:
AudienceRestrictionCondition

public class AudienceRestrictionCondition
extends AudienceRestrictionConditionType
implements AudienceRestrictionCondition

This is an implementation of the abstract Condition class, which specifes that the assertion this AuthenticationCondition is part of, is addressed to one or more specific audience.


Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AudienceRestrictionConditionType
audience
 
Constructor Summary
AudienceRestrictionCondition(List audience)
          This constructor takes in a List of audience for this condition, each of them being a String.
 
Method Summary
static AudienceRestrictionConditionType fromElement(Element element)
          Constructs an AudienceRestrictionCondition element from an existing XML block.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AudienceRestrictionConditionType
getAudience
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.AudienceRestrictionCondition
getAudience
 

Field Detail

log

protected static final Logger log
Constructor Detail

AudienceRestrictionCondition

public AudienceRestrictionCondition(List audience)
This constructor takes in a List of audience for this condition, each of them being a String.

Parameters:
audience - A List of audience to be included within this condition
Throws:
SAMLException - if the List is empty or if there is some error in processing the contents of the List
Method Detail

fromElement

public static AudienceRestrictionConditionType fromElement(Element element)
                                                    throws SAMLException
Constructs an AudienceRestrictionCondition element from an existing XML block.

Parameters:
audienceRestrictionConditionElement - A org.w3c.dom.Element representing DOM tree for AudienceRestrictionCondition object.
Throws:
SAMLException - if it could not process the org.w3c.dom.Element properly, implying that there is an error in the sender or in the element definition.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.