|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAML2AttributeAuthority
An attribute authority that can take an attribute query and produce a resultant attribute statement.
Method Summary | |
---|---|
org.opensaml.saml2.core.AttributeStatement |
buildAttributeStatement(org.opensaml.saml2.core.AttributeQuery query,
Collection<BaseAttribute> attributes)
Creates a SAML 2 attribute statment from a collection of BaseAttribute . |
String |
getAttributeIDBySAMLAttribute(org.opensaml.saml2.core.Attribute attribute)
Translates SAML 2 attribute naming information into the internal attribute ID used by the resolver and filtering engine. |
String |
getPrincipal(SAMLProfileRequestContext<? extends org.opensaml.saml2.core.RequestAbstractType,? extends org.opensaml.saml2.core.StatusResponseType,org.opensaml.saml2.core.NameID,? extends AbstractSAML2ProfileConfiguration> requestContext)
Resolves a NameID into the internal principal name used Shibboleth. |
org.opensaml.saml2.core.Attribute |
getSAMLAttributeByAttributeID(String id)
Translates the internal attribute ID, used by the resolver and filtering engine, into its representative SAML 2 attribute name. |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthority |
---|
getAttributes |
Method Detail |
---|
String getPrincipal(SAMLProfileRequestContext<? extends org.opensaml.saml2.core.RequestAbstractType,? extends org.opensaml.saml2.core.StatusResponseType,org.opensaml.saml2.core.NameID,? extends AbstractSAML2ProfileConfiguration> requestContext) throws AttributeRequestException
NameID
into the internal principal name used Shibboleth.
requestContext
- The request context within which to retrieve the principal. At a mimium, a NameID
and relying party ID must be included.
NameID
into the internal principal name used Shibboleth
AttributeRequestException
- thrown if the principal get not be resolvedorg.opensaml.saml2.core.AttributeStatement buildAttributeStatement(org.opensaml.saml2.core.AttributeQuery query, Collection<BaseAttribute> attributes) throws AttributeEncodingException
BaseAttribute
.
query
- the attribute query the statement is in respone to, may be nullattributes
- the attributes to create the attribute statement form
AttributeEncodingException
- thrown if an BaseAttribute
can not be encodedString getAttributeIDBySAMLAttribute(org.opensaml.saml2.core.Attribute attribute)
attribute
- the SAML 2 attribute to translate
org.opensaml.saml2.core.Attribute getSAMLAttributeByAttributeID(String id)
id
- internal attribute ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |