[java-shib-profile] branch main updated: Move public disallowed features constant to interface.

Scott Cantor cantor.2 at osu.edu
Wed Aug 23 14:53:14 UTC 2023


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

scantor pushed a commit to branch main
in repository java-shib-profile.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-profile.git;a=commit;h=c613437ca0a34af7aa4b1706a1f508967aa753f4

The following commit(s) were added to refs/heads/main by this push:
     new c613437  Move public disallowed features constant to interface.
c613437 is described below

commit c613437ca0a34af7aa4b1706a1f508967aa753f4
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 23 10:53:10 2023 -0400

    Move public disallowed features constant to interface.
---
 .../net/shibboleth/profile/config/AbstractProfileConfiguration.java   | 3 ---
 .../main/java/net/shibboleth/profile/config/ProfileConfiguration.java | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/config/AbstractProfileConfiguration.java b/shib-profile-api/src/main/java/net/shibboleth/profile/config/AbstractProfileConfiguration.java
index 1070167..25bf3cb 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/config/AbstractProfileConfiguration.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/config/AbstractProfileConfiguration.java
@@ -32,9 +32,6 @@ import org.opensaml.security.config.SecurityConfiguration;
 /** Base class for {@link ProfileConfiguration} implementations. */
 public abstract class AbstractProfileConfiguration extends AbstractIdentifiableInitializableComponent
         implements ProfileConfiguration {
-    
-    /** Default value for disallowedFeatures property. */
-    @Nonnull public static final Integer DEFAULT_DISALLOWED_FEATURES = 0; 
 
     /** Lookup function to supply securityConfiguration property. */
     @Nonnull private Function<ProfileRequestContext,SecurityConfiguration> securityConfigurationLookupStrategy;
diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/config/ProfileConfiguration.java b/shib-profile-api/src/main/java/net/shibboleth/profile/config/ProfileConfiguration.java
index a8ca8b8..5e4f51c 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/config/ProfileConfiguration.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/config/ProfileConfiguration.java
@@ -14,6 +14,7 @@
 
 package net.shibboleth.profile.config;
 
+import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 
 import org.opensaml.profile.context.ProfileRequestContext;
@@ -25,6 +26,9 @@ import net.shibboleth.shared.component.IdentifiedComponent;
 /** Represents the configuration of a particular communication profile. */
 public interface ProfileConfiguration extends IdentifiedComponent {
     
+    /** Default value for disallowedFeatures property. */
+    @Nonnull public static final Integer DEFAULT_DISALLOWED_FEATURES = 0; 
+    
     /**
      * Get the {@link SecurityConfiguration} to use with this profile.
      * 

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


More information about the commits mailing list