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.


Method Summary
 Map<String,BaseAttribute> getAttributes(ContextType requestContext)
          Gets the attributes for the principal identified in the request.
 

Method Detail

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 © 2006-2008 Internet2. All Rights Reserved.