[java-identity-provider] branch master updated: Adjust javadocs, remove unused code.

Scott Cantor cantor.2 at osu.edu
Mon Dec 2 15:08:14 EST 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f94f32c251a685202ec7c1398381d33126d1d503

The following commit(s) were added to refs/heads/master by this push:
       new  f94f32c   Adjust javadocs, remove unused code.
f94f32c is described below

commit f94f32c251a685202ec7c1398381d33126d1d503
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 2 15:08:12 2019 -0500

    Adjust javadocs, remove unused code.
---
 .../idp/saml/saml2/profile/impl/AddAuthnRequest.java  | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequest.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequest.java
index 4ef0000..defb511 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequest.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequest.java
@@ -66,13 +66,12 @@ import org.slf4j.LoggerFactory;
  * 
  * <p>If an issuer value is returned via a lookup strategy, then it's set as the Issuer of the message.</p>
  * 
- * <p>Various other values are derived from the active configuration. The outbound relay state is also
- * set to the flow execution key.</p>
+ * <p>Various other values are derived from the active configuration such as {@link RequestedAuthnContext},
+ * {@link NameIDPolicy}, and {@link Scoping}.</p>
  * 
  * @event {@link EventIds#PROCEED_EVENT_ID}
  * @event {@link EventIds#INVALID_MSG_CTX}
  * @event {@link EventIds#INVALID_PROFILE_CTX}
- * @event {@link EventIds#MESSAGE_PROC_ERROR}
  * @event {@link IdPEventIds#INVALID_PROFILE_CONFIG}
  * 
  * @post ProfileRequestContext.getOutboundMessageContext().getMessage() != null
@@ -87,9 +86,6 @@ public class AddAuthnRequest extends AbstractAuthenticationAction {
 
     /** Strategy used to locate the {@link IdentifierGenerationStrategy} to use. */
     @Nonnull private Function<ProfileRequestContext,IdentifierGenerationStrategy> idGeneratorLookupStrategy;
-
-    /** Strategy used to obtain the relay state token to provide. */
-    @Nonnull private Function<ProfileRequestContext,String> relayStateLookupStrategy;
     
     /** Strategy used to obtain the request issuer value. */
     @Nullable private Function<ProfileRequestContext,String> issuerLookupStrategy;
@@ -135,17 +131,6 @@ public class AddAuthnRequest extends AbstractAuthenticationAction {
         idGeneratorLookupStrategy =
                 Constraint.isNotNull(strategy, "IdentifierGenerationStrategy lookup strategy cannot be null");
     }
-    
-    /**
-     * Set the strategy used to obtain the RelayState value to supply for flow restoration.
-     * 
-     * @param strategy lookup strategy
-     */
-    public void setRelayStateLookupStrategy(@Nonnull final Function<ProfileRequestContext,String> strategy) {
-        ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
-        
-        relayStateLookupStrategy = Constraint.isNotNull(strategy, "RelayState lookup srategy cannot be null");
-    }
 
     /**
      * Set the strategy used to locate the issuer value to use.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list