View Javadoc

    1
    2   package edu.internet2.middleware.shibboleth.idp.profile.saml1;
    3
    4   import org.opensaml.common.SAMLObject;
    5   import org.opensaml.saml1.core.NameIdentifier;
    6   import org.opensaml.saml1.core.ResponseAbstractType;
    7   import org.opensaml.saml1.core.Status;
    8
    9   import edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileRequestContext;
    10  import edu.internet2.middleware.shibboleth.common.relyingparty.provider.saml1.AbstractSAML1ProfileConfiguration;
    11
    12  /**
    13   * Contextual object used to accumlate information as profile requests are being processed.
    14   *
    15   * @param <RequestType> type of SAML 1 request
    16   * @param <ResponseType> type of SAML 1 response
    17   * @param <ProfileConfigurationType> configuration type for this profile
    18   */
    19  public abstract class BaseSAML1ProfileRequestContext<RequestType extends SAMLObject, ResponseType extends ResponseAbstractType, ProfileConfigurationType extends AbstractSAML1ProfileConfiguration>
    20          extends BaseSAMLProfileRequestContext<RequestType, ResponseType, NameIdentifier, ProfileConfigurationType> {
    21
    22      /** The request failure status. */
    23      private Status failureStatus;
    24
    25      /**
    26       * Gets the status reflecting a request failure.
    27       *
    28       * @return status reflecting a request failure
    29       */
    30      public Status getFailureStatus() {
    31          return failureStatus;
    32      }
    33
    34      /**
    35       * Sets the status reflecting a request failure.
    36       *
    37       * @param status status reflecting a request failure
    38       */
    39      public void setFailureStatus(Status status) {
    40          failureStatus = status;
    41      }
    42  }