edu.internet2.middleware.shibboleth.common.attribute
Interface AttributeAuthority<ContextType extends AttributeRequestContext>
- Type Parameters:
ContextType
- contextual information expected by the attribute authority
- All Known Subinterfaces:
- SAML1AttributeAuthority, SAML2AttributeAuthority
- All Known Implementing Classes:
- ShibbolethSAML1AttributeAuthority, ShibbolethSAML2AttributeAuthority
public interface AttributeAuthority<ContextType extends AttributeRequestContext>
Interface for an attribute authority. An attribute authority will pull attribute information for the principal
specified in the request context. If no principal is specified it is assumed that the authority implementation will
be able to derive the principal from other data within the request context.
getAttributes
Map<String,BaseAttribute> getAttributes(ContextType requestContext)
throws AttributeRequestException
- Gets the attributes for the principal identified in the request.
- Parameters:
requestContext
- contextual information for the attribute request
- Returns:
- the request attributes keyed by the attributes' IDs.
- Throws:
AttributeRequestException
- thrown if there is a problem retrieving the attributes
Copyright © 1999-2012. All Rights Reserved.