com.sun.identity.saml2.profile
Class AttributeQueryUtil

java.lang.Object
  extended by com.sun.identity.saml2.profile.AttributeQueryUtil

public class AttributeQueryUtil
extends Object

This class provides methods to send or processs AttributeQuery.


Method Summary
static Response sendAttributeQuery(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm, String attrQueryProfile, String attrProfile, String binding)
          Sends the AttributeQuery to specifiied attribute authority and returns Response coming from the attribute authority.
 

Method Detail

sendAttributeQuery

public static Response sendAttributeQuery(AttributeQuery attrQuery,
                                          String attrAuthorityEntityID,
                                          String realm,
                                          String attrQueryProfile,
                                          String attrProfile,
                                          String binding)
                                   throws SAML2Exception
Sends the AttributeQuery to specifiied attribute authority and returns Response coming from the attribute authority.

Parameters:
attrQuery - the AttributeQuery object
attrAuthorityEntityID - entity ID of attribute authority
realm - the realm of hosted entity
attrQueryProfile - the attribute query profile or null to ignore
attrProfile - the attribute profile
binding - the binding
Returns:
the Response object
Throws:
SAML2Exception - if the operation is not successful