[java-identity-provider COMMIT] /trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAML...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Dec 8 10:57:32 EST 2016
Author: scantor
Date: Thu Dec 8 10:57:31 2016
New Revision: 8574
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8574&view=rev
Log:
Correct sense of signRequests field variable and documentation.
Modified:
trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfiguration.java
Modified: trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfiguration.java?rev=8574&r1=8573&r2=8574&view=diff
==============================================================================
--- trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfiguration.java (original)
+++ trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfiguration.java Thu Dec 8 10:57:31 2016
@@ -46,8 +46,8 @@
public abstract class AbstractSAMLProfileConfiguration extends AbstractProfileConfiguration implements
SAMLProfileConfiguration {
- /** Predicate used to determine if the received request should be signed. Default returns false. */
- @Nonnull private Predicate<ProfileRequestContext> signedRequestsPredicate;
+ /** Predicate used to determine if the generated request should be signed. Default returns false. */
+ @Nonnull private Predicate<ProfileRequestContext> signRequestsPredicate;
/** Predicate used to determine if the generated response should be signed. Default returns true. */
@Nonnull private Predicate<ProfileRequestContext> signResponsesPredicate;
@@ -78,7 +78,7 @@
public AbstractSAMLProfileConfiguration(@Nonnull @NotEmpty final String profileId) {
super(profileId);
- signedRequestsPredicate = Predicates.alwaysFalse();
+ signRequestsPredicate = Predicates.alwaysFalse();
signResponsesPredicate = Predicates.alwaysFalse();
signAssertionsPredicate = Predicates.alwaysFalse();
includeNotBeforePredicate = Predicates.alwaysTrue();
@@ -103,7 +103,7 @@
/** {@inheritDoc} */
@Override @Nonnull public Predicate<ProfileRequestContext> getSignRequests() {
- return signedRequestsPredicate;
+ return signRequestsPredicate;
}
/**
@@ -112,9 +112,9 @@
* @param predicate predicate used to determine if generated requests should be signed
*/
public void setSignRequests(@Nonnull final Predicate<ProfileRequestContext> predicate) {
- signedRequestsPredicate =
+ signRequestsPredicate =
Constraint.isNotNull(predicate,
- "Predicate to determine if received requests should be signed cannot be null");
+ "Predicate to determine if requests should be signed cannot be null");
}
/** {@inheritDoc} */
More information about the commits
mailing list