public interface SAML2AttributeAuthority extends AttributeAuthority<SAMLProfileRequestContext<? extends RequestAbstractType,? extends StatusResponseType,NameID,? extends AbstractSAML2ProfileConfiguration>>
修飾子とタイプ | メソッドと説明 |
---|---|
AttributeStatement |
buildAttributeStatement(AttributeQuery query,
Collection<BaseAttribute> attributes)
Creates a SAML 2 attribute statement from a collection of
BaseAttribute . |
String |
getAttributeIDBySAMLAttribute(Attribute attribute)
Translates SAML 2 attribute naming information into the internal attribute ID used by the resolver and filtering
engine.
|
String |
getPrincipal(SAMLProfileRequestContext<? extends RequestAbstractType,? extends StatusResponseType,NameID,? extends AbstractSAML2ProfileConfiguration> requestContext)
Resolves a
NameID into the internal principal name used by Shibboleth. |
Attribute |
getSAMLAttributeByAttributeID(String id)
Translates the internal attribute ID, used by the resolver and filtering engine, into its representative SAML 2
attribute name.
|
getAttributes
String getPrincipal(SAMLProfileRequestContext<? extends RequestAbstractType,? extends StatusResponseType,NameID,? extends AbstractSAML2ProfileConfiguration> requestContext) throws AttributeRequestException
NameID
into the internal principal name used by Shibboleth.requestContext
- The request context within which to retrieve the principal. At a minimum, a NameID
and relying party ID must be included.NameID
into the internal principal name used by ShibbolethAttributeRequestException
- thrown if the principal could not be resolvedAttributeStatement buildAttributeStatement(AttributeQuery query, Collection<BaseAttribute> attributes) throws AttributeEncodingException
BaseAttribute
.query
- the attribute query the statement is in response to, may be nullattributes
- the attributes to create the attribute statement formAttributeEncodingException
- thrown if an BaseAttribute
can not be encodedString getAttributeIDBySAMLAttribute(Attribute attribute)
attribute
- the SAML 2 attribute to translateCopyright © 2012. All Rights Reserved.