|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.common.profile.provider.AbstractRequestURIMappedProfileHandler<HTTPInTransport,HTTPOutTransport>
edu.internet2.middleware.shibboleth.common.profile.provider.AbstractShibbolethProfileHandler<SAMLMDRelyingPartyConfigurationManager,Session>
edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler
edu.internet2.middleware.shibboleth.idp.profile.saml1.AbstractSAML1ProfileHandler
edu.internet2.middleware.shibboleth.idp.profile.saml1.AttributeQueryProfileHandler
public class AttributeQueryProfileHandler
SAML 1 Attribute Query profile handler.
| Nested Class Summary | |
|---|---|
protected class |
AttributeQueryProfileHandler.AttributeQueryContext
Basic data structure used to accumulate information as a request is being processed. |
| Nested classes/interfaces inherited from class edu.internet2.middleware.shibboleth.idp.profile.saml1.AbstractSAML1ProfileHandler |
|---|
AbstractSAML1ProfileHandler.SAML1AuditLogEntry |
| Field Summary | |
|---|---|
private SAMLObjectBuilder<AssertionConsumerService> |
acsEndpointBuilder
Builder of assertion consumer service endpoints. |
private org.slf4j.Logger |
log
Class logger. |
private SAMLObjectBuilder<NameIdentifier> |
nameIdentifierBuilder
Builder of NameIdentifier objects. |
| Fields inherited from class edu.internet2.middleware.shibboleth.idp.profile.saml1.AbstractSAML1ProfileHandler |
|---|
SAML_VERSION |
| Constructor Summary | |
|---|---|
AttributeQueryProfileHandler()
Constructor. |
|
| Method Summary | |
|---|---|
protected NameIdentifier |
buildNameId(BaseSAML1ProfileRequestContext<?,?,?> requestContext)
Builds a NameIdentifier appropriate for this request. |
protected void |
decodeRequest(AttributeQueryProfileHandler.AttributeQueryContext requestContext,
HTTPInTransport inTransport,
HTTPOutTransport outTransport)
Decodes an incoming request and populates a created request context with the resultant information. |
String |
getProfileId()
|
protected void |
populateAssertingPartyInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information about the asserting party. |
protected void |
populateRelyingPartyInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information about the relying party. |
protected void |
populateSAMLMessageInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information from the inbound SAML message. |
void |
processRequest(HTTPInTransport inTransport,
HTTPOutTransport outTransport)
|
protected Endpoint |
selectEndpoint(BaseSAMLProfileRequestContext requestContext)
Selects the appropriate endpoint for the relying party and stores it in the request context. |
| Methods inherited from class edu.internet2.middleware.shibboleth.idp.profile.saml1.AbstractSAML1ProfileHandler |
|---|
buildAssertion, buildAttributeStatement, buildConditions, buildErrorResponse, buildResponse, buildStatus, buildSubject, checkSamlVersion, isSignAssertion, populateRequestContext, populateStatusResponse, populateUserInformation, resolveAttributes, resolvePrincipal, signAssertion, writeAuditLogEntry |
| Methods inherited from class edu.internet2.middleware.shibboleth.common.profile.provider.AbstractShibbolethProfileHandler |
|---|
getBuilderFactory, getParserPool, getProfileConfiguration, getRelyingPartyConfigurationManager, getSessionManager, getStorageService, setParserPool, setRelyingPartyConfigurationManager, setSessionManager, setStorageService |
| Methods inherited from class edu.internet2.middleware.shibboleth.common.profile.provider.AbstractRequestURIMappedProfileHandler |
|---|
getRequestPaths, setRequestPaths |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final org.slf4j.Logger log
private SAMLObjectBuilder<NameIdentifier> nameIdentifierBuilder
private SAMLObjectBuilder<AssertionConsumerService> acsEndpointBuilder
| Constructor Detail |
|---|
public AttributeQueryProfileHandler()
| Method Detail |
|---|
public String getProfileId()
getProfileId in class AbstractShibbolethProfileHandler<SAMLMDRelyingPartyConfigurationManager,Session>
public void processRequest(HTTPInTransport inTransport,
HTTPOutTransport outTransport)
throws ProfileException
ProfileException
protected void decodeRequest(AttributeQueryProfileHandler.AttributeQueryContext requestContext,
HTTPInTransport inTransport,
HTTPOutTransport outTransport)
throws ProfileException
inTransport - inbound message transportoutTransport - outbound message transportrequestContext - the request context to which decoded information should be added
ProfileException - throw if there is a problem decoding the request
protected void populateRelyingPartyInformation(BaseSAMLProfileRequestContext requestContext)
throws ProfileException
populateRelyingPartyInformation in class AbstractSAMLProfileHandlerrequestContext - current request context
ProfileException - thrown if there is a problem looking up the relying party's metadata
protected void populateAssertingPartyInformation(BaseSAMLProfileRequestContext requestContext)
throws ProfileException
AbstractSAMLProfileHandler.populateRequestContext(BaseSAMLProfileRequestContext) has already invoked
AbstractSAMLProfileHandler.populateRelyingPartyInformation(BaseSAMLProfileRequestContext) has already been invoked and the
properties it provides are available in the request context.
This method requires the the following request context properties to be populated: metadata provider, relying
party configuration
This methods populates the following request context properties: local entity ID, outbound message issuer, local
entity metadata
populateAssertingPartyInformation in class AbstractSAMLProfileHandlerrequestContext - current request context
ProfileException - thrown if there is a problem looking up the asserting party's metadata
protected void populateSAMLMessageInformation(BaseSAMLProfileRequestContext requestContext)
throws ProfileException
populateSAMLMessageInformation in class AbstractSAMLProfileHandlerrequestContext - current request context
ProfileException - thrown if the inbound SAML message or subject identifier is nullprotected Endpoint selectEndpoint(BaseSAMLProfileRequestContext requestContext)
selectEndpoint in class AbstractSAMLProfileHandlerrequestContext - current request context
protected NameIdentifier buildNameId(BaseSAML1ProfileRequestContext<?,?,?> requestContext)
throws ProfileException
buildNameId in class AbstractSAML1ProfileHandlerrequestContext - current request context
ProfileException - thrown if a NameIdentifier can not be created either because there was a problem
encoding the name ID attribute or because there are no supported name formats
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||