|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeAuthorityMapper
This interface AttributeAuthorityMapper
is used by attribute
authority to process attribute query.
Method Summary | |
---|---|
void |
authenticateRequester(HttpServletRequest request,
HttpServletResponse response,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Checks if the attribute query requester is valid. |
List |
getAttributes(Object identity,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Returns attributes of the specifed identity. |
Object |
getIdentity(HttpServletRequest request,
HttpServletResponse response,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Returns an identity that matches the subject in the attribute query. |
void |
validateAttributeQuery(HttpServletRequest request,
HttpServletResponse response,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Checks if the attribute query is valid. |
Method Detail |
---|
void authenticateRequester(HttpServletRequest request, HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entity
SAML2Exception
- if the request is not valid.void validateAttributeQuery(HttpServletRequest request, HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entity
SAML2Exception
- if the attribute query is not valid.Object getIdentity(HttpServletRequest request, HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entity
SAML2Exception
- if error occurs.List getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
identity
- the identityattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entity
com.sun.identity.saml2.assertion.Attribute
.
SAML2Exception
- if error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |