public interface SAML1AttributeAuthority extends AttributeAuthority<SAMLProfileRequestContext<? extends SAMLObject,? extends ResponseAbstractType,NameIdentifier,? extends AbstractSAML1ProfileConfiguration>>
修飾子とタイプ | メソッドと説明 |
---|---|
AttributeStatement |
buildAttributeStatement(AttributeQuery query,
Collection<BaseAttribute> attributes)
Creates a SAML 1 attribute statement from a collection of
BaseAttribute . |
String |
getAttributeIDBySAMLAttribute(AttributeDesignator attribute)
Translates SAML 1 attribute naming information into the internal attribute ID used by the resolver and filtering
engine.
|
String |
getPrincipal(SAMLProfileRequestContext<? extends SAMLObject,? extends ResponseAbstractType,NameIdentifier,? extends AbstractSAML1ProfileConfiguration> requestContext)
Resolves a
NameIdentifier into the internal principal name used by Shibboleth. |
AttributeDesignator |
getSAMLAttributeByAttributeID(String id)
Translates the internal attribute ID, used by the resolver and filtering engine, into its representative SAML 1
attribute name.
|
getAttributes
String getPrincipal(SAMLProfileRequestContext<? extends SAMLObject,? extends ResponseAbstractType,NameIdentifier,? extends AbstractSAML1ProfileConfiguration> requestContext) throws AttributeRequestException
NameIdentifier
into the internal principal name used by Shibboleth.requestContext
- The request context within which to retrieve the principal. At a minimum, a
NameIdentifier
and relying party ID must be included.NameIdentifier
into the internal principal name used by ShibbolethAttributeRequestException
- thrown if the principal get 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(AttributeDesignator attribute)
attribute
- the SAML 1 attribute to translateAttributeDesignator getSAMLAttributeByAttributeID(String id)
id
- internal attribute IDCopyright © 2012. All Rights Reserved.