|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.saml2.profile.AttributeQueryUtil
public class AttributeQueryUtil
This class provides methods to send or processs AttributeQuery.
| Method Summary | |
|---|---|
static Map |
getAttributeMapForFedlet(String spEntityID,
String idpEntityID,
String nameIDValue,
List attrsList,
String attrQueryProfileAlias,
String subjectDN)
Sends the AttributeQuery to specifiied attribute authority, validates the response and returns the attribute map Map to the Fedlet |
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 |
|---|
public static Response sendAttributeQuery(AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm,
String attrQueryProfile,
String attrProfile,
String binding)
throws SAML2Exception
AttributeQuery to specifiied
attribute authority and returns Response coming
from the attribute authority.
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
Response object
SAML2Exception - if the operation is not successful
public static Map getAttributeMapForFedlet(String spEntityID,
String idpEntityID,
String nameIDValue,
List attrsList,
String attrQueryProfileAlias,
String subjectDN)
throws SAML2Exception
Map to the Fedlet
spEntityID - SP entity IDidpEntityID - IDP entity IDnameIDValue - NameID valueattrsList - The list of attributes whose values needs to be
fetched from IDPencrypt - Boolean value to indicate whether the Fedlet will
receive the encrypted dataattrQueryProfileAlias - Attribute Query Profile AliassubjectDN - Attribute name which contains X.509 subject DN
Map object
SAML2Exception - if the operation is not successful
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||