com.sun.identity.saml2.profile
Class AttributeQueryUtil
java.lang.Object
com.sun.identity.saml2.profile.AttributeQueryUtil
public class AttributeQueryUtil
- extends Object
This class provides methods to send or processs AttributeQuery.
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 objectattrAuthorityEntityID - entity ID of attribute authorityrealm - the realm of hosted entityattrQueryProfile - the attribute query profile or null to ignoreattrProfile - the attribute profilebinding - the binding
- Returns:
- the
Response object
- Throws:
SAML2Exception - if the operation is not successful