edu.internet2.middleware.shibboleth.common.attribute
Interface AttributeRequestContext

All Known Subinterfaces:
SAMLProfileRequestContext<InboundMessageType,OutboundMessageType,NameIdentifierType,ProfileConfigurationType>
All Known Implementing Classes:
BaseSAMLProfileRequestContext

public interface AttributeRequestContext

Base interface for attribute resolution requests.


Method Summary
 Map<String,BaseAttribute> getAttributes()
          Gets the retrieved attributes.
 String getPrincipalAuthenticationMethod()
          Gets the method used to authenticate the principal.
 String getPrincipalName()
          Gets the principal name of the subject of the request.
 Collection<String> getRequestedAttributesIds()
          Gets the collection of IDs for the attributes being requested by the relying party.
 void setAttributes(Map<String,BaseAttribute> attributes)
          Sets the retrieved attributes.
 void setPrincipalAuthenticationMethod(String method)
          Sets the method used to authenticate the principal.
 void setPrincipalName(String name)
          Sets the principal name of the subject of the request.
 void setRequestedAttributes(Collection<String> ids)
          Sets the collection of IDs for the attributes being requested by the relying party.
 

Method Detail

getRequestedAttributesIds

Collection<String> getRequestedAttributesIds()
Gets the collection of IDs for the attributes being requested by the relying party.

Returns:
collection of IDs for the attributes being requested by the relying party

setRequestedAttributes

void setRequestedAttributes(Collection<String> ids)
Sets the collection of IDs for the attributes being requested by the relying party.

Parameters:
ids - collection of IDs for the attributes being requested by the relying party

getAttributes

Map<String,BaseAttribute> getAttributes()
Gets the retrieved attributes.

Returns:
retrieved attributes

setAttributes

void setAttributes(Map<String,BaseAttribute> attributes)
Sets the retrieved attributes.

Parameters:
attributes - retrieved attributes

getPrincipalAuthenticationMethod

String getPrincipalAuthenticationMethod()
Gets the method used to authenticate the principal.

Returns:
method used to authenticate the principal

getPrincipalName

String getPrincipalName()
Gets the principal name of the subject of the request.

Returns:
principal name of the subject of the request

setPrincipalAuthenticationMethod

void setPrincipalAuthenticationMethod(String method)
Sets the method used to authenticate the principal.

Parameters:
method - method used to authenticate the principal

setPrincipalName

void setPrincipalName(String name)
Sets the principal name of the subject of the request.

Parameters:
name - principal name of the subject of the request


Copyright © 2006-2010 Internet2. All Rights Reserved.