public class X509SubjectAttributeAuthorityMapper extends Object implements AttributeAuthorityMapper
X509SubjectAttributeAuthorityMapper
is the
implementation of the AttributeAuthorityMapper
that is used by
attribute authority to process attribute query with profile
"urn:oasis:names:tc:SAML:2.0:profiles:query:attribute:X509".Constructor and Description |
---|
X509SubjectAttributeAuthorityMapper() |
Modifier and Type | Method and Description |
---|---|
void |
authenticateRequester(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Returns an identity that matches the subject in the attribute query.
|
void |
validateAttributeQuery(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AttributeQuery attrQuery,
String attrAuthorityEntityID,
String realm)
Checks if the attribute query is valid.
|
public void authenticateRequester(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
authenticateRequester
in interface AttributeAuthorityMapper
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entitySAML2Exception
- if the request is not valid.public void validateAttributeQuery(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
validateAttributeQuery
in interface AttributeAuthorityMapper
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entitySAML2Exception
- if the attribute query is not valid.public Object getIdentity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
getIdentity
in interface AttributeAuthorityMapper
request
- HttpServletRequestresponse
- HttpServletResponseattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entitySAML2Exception
- if error occurs.public List getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm) throws SAML2Exception
getAttributes
in interface AttributeAuthorityMapper
identity
- the identityattrQuery
- attribute queryattrAuthorityEntityID
- entity ID of attribute authorityrealm
- the realm of hosted entitycom.sun.identity.saml2.assertion.Attribute
.SAML2Exception
- if error occurs.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.