public interface SAML1AttributeAuthority extends AttributeAuthority<SAMLProfileRequestContext<? extends org.opensaml.common.SAMLObject,? extends org.opensaml.saml1.core.ResponseAbstractType,org.opensaml.saml1.core.NameIdentifier,? extends AbstractSAML1ProfileConfiguration>>
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml1.core.AttributeStatement |
buildAttributeStatement(org.opensaml.saml1.core.AttributeQuery query,
Collection<BaseAttribute> attributes)
Creates a SAML 1 attribute statement from a collection of
BaseAttribute. |
String |
getAttributeIDBySAMLAttribute(org.opensaml.saml1.core.AttributeDesignator attribute)
Translates SAML 1 attribute naming information into the internal attribute ID used by the resolver and filtering
engine.
|
String |
getPrincipal(SAMLProfileRequestContext<? extends org.opensaml.common.SAMLObject,? extends org.opensaml.saml1.core.ResponseAbstractType,org.opensaml.saml1.core.NameIdentifier,? extends AbstractSAML1ProfileConfiguration> requestContext)
Resolves a
NameIdentifier into the internal principal name used by Shibboleth. |
org.opensaml.saml1.core.AttributeDesignator |
getSAMLAttributeByAttributeID(String id)
Translates the internal attribute ID, used by the resolver and filtering engine, into its representative SAML 1
attribute name.
|
getAttributesString getPrincipal(SAMLProfileRequestContext<? extends org.opensaml.common.SAMLObject,? extends org.opensaml.saml1.core.ResponseAbstractType,org.opensaml.saml1.core.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 resolvedorg.opensaml.saml1.core.AttributeStatement buildAttributeStatement(org.opensaml.saml1.core.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(org.opensaml.saml1.core.AttributeDesignator attribute)
attribute - the SAML 1 attribute to translateorg.opensaml.saml1.core.AttributeDesignator getSAMLAttributeByAttributeID(String id)
id - internal attribute IDCopyright © 1999–2014. All rights reserved.