[java-identity-provider] branch master updated: OSJ-256 - Add final to all BaseContext/etc. classes

Scott Cantor cantor.2 at osu.edu
Wed Feb 20 20:18:47 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=5da4552607ce49adbf460d2bb2401584c3ae1c0f

The following commit(s) were added to refs/heads/master by this push:
       new  5da4552   OSJ-256 - Add final to all BaseContext/etc. classes
5da4552 is described below

commit 5da4552607ce49adbf460d2bb2401584c3ae1c0f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 20 20:18:44 2019 -0500

    OSJ-256 - Add final to all BaseContext/etc. classes
    
    https://issues.shibboleth.net/jira/browse/OSJ-256
    
    Also removed a pair of deprecated classes.
---
 .../idp/attribute/context/AttributeContext.java    |  2 +-
 .../context/AttributeResolutionContext.java        |  2 +-
 .../context/AttributeResolverWorkContext.java      |  2 +-
 .../authn/context/AuthenticationErrorContext.java  |  2 +-
 .../context/AuthenticationWarningContext.java      |  2 +-
 .../idp/authn/context/CertificateContext.java      |  2 +-
 .../idp/authn/context/KerberosTicketContext.java   |  2 +-
 .../idp/authn/context/LDAPResponseContext.java     |  2 +-
 .../idp/authn/context/LockoutManagerContext.java   |  2 +-
 .../context/MultiFactorAuthenticationContext.java  |  2 +-
 .../authn/context/PreferredPrincipalContext.java   |  2 +-
 .../authn/context/RequestedPrincipalContext.java   |  2 +-
 .../context/SubjectCanonicalizationContext.java    |  2 +-
 .../idp/authn/context/SubjectContext.java          |  2 +-
 .../idp/authn/context/UserAgentContext.java        |  2 +-
 .../idp/authn/context/UsernameContext.java         |  2 +-
 .../idp/authn/context/UsernamePasswordContext.java |  2 +-
 .../duo/context/DuoAuthenticationContext.java      |  2 +-
 .../idp/cas/protocol/ProtocolContext.java          |  2 +-
 .../consent/context/AttributeReleaseContext.java   |  2 +-
 .../idp/consent/context/ConsentContext.java        |  2 +-
 .../consent/context/ConsentManagementContext.java  |  2 +-
 .../context/impl/AttributeReleaseContext.java      | 25 ----------------------
 .../idp/consent/context/impl/ConsentContext.java   | 25 ----------------------
 .../idp/consent/context/impl/package-info.java     | 22 -------------------
 .../profile/context/ProfileInterceptorContext.java |  2 +-
 .../idp/profile/context/SpringRequestContext.java  |  2 +-
 .../idp/saml/authn/context/SAMLContext.java        |  2 +-
 .../session/context/LogoutPropagationContext.java  |  2 +-
 .../idp/session/context/SessionContext.java        |  2 +-
 .../idp/ui/context/RelyingPartyUIContext.java      |  2 +-
 31 files changed, 28 insertions(+), 100 deletions(-)

diff --git a/idp-attribute-api/src/main/java/net/shibboleth/idp/attribute/context/AttributeContext.java b/idp-attribute-api/src/main/java/net/shibboleth/idp/attribute/context/AttributeContext.java
index 9c68781..18b7894 100644
--- a/idp-attribute-api/src/main/java/net/shibboleth/idp/attribute/context/AttributeContext.java
+++ b/idp-attribute-api/src/main/java/net/shibboleth/idp/attribute/context/AttributeContext.java
@@ -42,7 +42,7 @@ import com.google.common.collect.ImmutableMap;
  * associated with a particular service request.
  */
 @NotThreadSafe
-public class AttributeContext extends BaseContext {
+public final class AttributeContext extends BaseContext {
 
     /** The attributes tracked by this context. */
     @Nonnull private Map<String, IdPAttribute> attributes;
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
index 073363d..a2bda1e 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
@@ -50,7 +50,7 @@ import com.google.common.collect.ImmutableMap;
 
 /** A context supplying input to the {@link net.shibboleth.idp.attribute.resolver.AttributeResolver} interface. */
 @NotThreadSafe
-public class AttributeResolutionContext extends BaseContext {
+public final class AttributeResolutionContext extends BaseContext {
 
     /** (internal) Names of the attributes that have been requested to be resolved. */
     @Nonnull @NonnullElements private Set<String> requestedAttributeNames;
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolverWorkContext.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolverWorkContext.java
index 7a5a8ee..788b7e3 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolverWorkContext.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolverWorkContext.java
@@ -46,7 +46,7 @@ import org.opensaml.messaging.context.BaseContext;
  * </p>
  */
 @NotThreadSafe
-public class AttributeResolverWorkContext extends BaseContext {
+public final class AttributeResolverWorkContext extends BaseContext {
 
     /** Attribute definitions that have been resolved and the resultant attribute. */
     @Nonnull @NonnullElements private final Map<String, ResolvedAttributeDefinition> resolvedAttributeDefinitions;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
index a429a3a..d2640c3 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationErrorContext.java
@@ -46,7 +46,7 @@ import com.google.common.collect.ImmutableList;
  * @parent {@link AuthenticationContext}
  * @added After authentication fails
  */
-public class AuthenticationErrorContext extends BaseContext {
+public final class AuthenticationErrorContext extends BaseContext {
 
     /** Ordered list of exceptions encountered. */
     @Nonnull @NonnullElements private List<Exception> exceptions;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java
index 53732fa..d516910 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/AuthenticationWarningContext.java
@@ -39,7 +39,7 @@ import org.opensaml.messaging.context.BaseContext;
  * @parent {@link AuthenticationContext}
  * @added After a warning is generated during authentication
  */
-public class AuthenticationWarningContext extends BaseContext {
+public final class AuthenticationWarningContext extends BaseContext {
 
     /** Warning conditions detected through classified warning messages. */
     private Collection<String> classifiedWarnings;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/CertificateContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/CertificateContext.java
index 71f021f..5a8fd27 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/CertificateContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/CertificateContext.java
@@ -39,7 +39,7 @@ import com.google.common.collect.Collections2;
  * @parent {@link AuthenticationContext}
  * @added After extraction of a certificate during authentication
  */
-public class CertificateContext extends BaseContext {
+public final class CertificateContext extends BaseContext {
 
     /** The certificate to be validated. */
     @Nullable private Certificate certificate;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/KerberosTicketContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/KerberosTicketContext.java
index eb9e17d..7c0fbac 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/KerberosTicketContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/KerberosTicketContext.java
@@ -28,7 +28,7 @@ import org.opensaml.messaging.context.BaseContext;
  * 
  * @parent {@link AuthenticationContext}
  */
-public class KerberosTicketContext extends BaseContext {
+public final class KerberosTicketContext extends BaseContext {
 
     /** Kerberos ticket to be validated. */
     private KerberosTicket ticket;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LDAPResponseContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LDAPResponseContext.java
index 5e13e26..12dd8f5 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LDAPResponseContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LDAPResponseContext.java
@@ -32,7 +32,7 @@ import com.google.common.base.MoreObjects;
  * @parent {@link AuthenticationContext}
  * @added After an LDAP authentication attempt
  */
-public class LDAPResponseContext extends BaseContext {
+public final class LDAPResponseContext extends BaseContext {
 
     /** Authentication response. */
     @Nullable private AuthenticationResponse authenticationResponse;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LockoutManagerContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LockoutManagerContext.java
index e6320a8..4086f07 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LockoutManagerContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/LockoutManagerContext.java
@@ -31,7 +31,7 @@ import org.opensaml.messaging.context.BaseContext;
  * 
  * @since 3.4.0
  */
-public class LockoutManagerContext extends BaseContext {
+public final class LockoutManagerContext extends BaseContext {
 
     /** Account lockout key. */
     @Nullable private String key;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/MultiFactorAuthenticationContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/MultiFactorAuthenticationContext.java
index 721fed5..2358d22 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/MultiFactorAuthenticationContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/MultiFactorAuthenticationContext.java
@@ -43,7 +43,7 @@ import org.opensaml.messaging.context.BaseContext;
  * 
  * @since 3.3.0
  */
-public class MultiFactorAuthenticationContext extends BaseContext {
+public final class MultiFactorAuthenticationContext extends BaseContext {
 
     /** Map of login "factors" (flows) and the transition rules to run after them. */
     @Nonnull @NonnullElements private Map<String,MultiFactorAuthenticationTransition> transitionMap;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/PreferredPrincipalContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/PreferredPrincipalContext.java
index 9d7a26d..2632475 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/PreferredPrincipalContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/PreferredPrincipalContext.java
@@ -50,7 +50,7 @@ import com.google.common.collect.ImmutableList;
  * 
  * @since 3.4.0
  */
-public class PreferredPrincipalContext extends BaseContext {
+public final class PreferredPrincipalContext extends BaseContext {
 
     /** The principals reflecting the preference. */
     @Nonnull @NonnullElements private List<Principal> preferredPrincipals;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/RequestedPrincipalContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/RequestedPrincipalContext.java
index e28a400..46eae9e 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/RequestedPrincipalContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/RequestedPrincipalContext.java
@@ -64,7 +64,7 @@ import com.google.common.collect.ImmutableList;
  * @parent {@link AuthenticationContext}
  * @added Before the authentication process begins
  */
-public class RequestedPrincipalContext extends BaseContext {
+public final class RequestedPrincipalContext extends BaseContext {
 
     /** The registry of predicate factories for custom principal evaluation. */
     @Nonnull private PrincipalEvalPredicateFactoryRegistry evalRegistry;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java
index 103c5ac..3bb1cce 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java
@@ -42,7 +42,7 @@ import org.opensaml.messaging.context.BaseContext;
  * @parent {@link org.opensaml.profile.context.ProfileRequestContext}
  * @added At the end of a login flow or before any other execution of the subject canonicalization flow
  */
-public class SubjectCanonicalizationContext extends BaseContext {
+public final class SubjectCanonicalizationContext extends BaseContext {
 
     /** Subject to canonicalize. */
     @Nullable private Subject subject;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectContext.java
index 4c1b73a..d4422aa 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectContext.java
@@ -52,7 +52,7 @@ import com.google.common.collect.ImmutableList;
  * @parent {@link org.opensaml.profile.context.ProfileRequestContext}
  * @added After the subject of a request is determined
  */
-public class SubjectContext extends BaseContext {
+public final class SubjectContext extends BaseContext {
 
     /** Canonical principal name of an impersonating identity. */
     @Nullable private String impersonatingPrincipalName;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UserAgentContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UserAgentContext.java
index f600378..2b4f3bd 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UserAgentContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UserAgentContext.java
@@ -33,7 +33,7 @@ import org.opensaml.messaging.context.BaseContext;
  * 
  * @parent {@link org.opensaml.profile.context.ProfileRequestContext}, {@link AuthenticationContext}
  */
-public class UserAgentContext extends BaseContext {
+public final class UserAgentContext extends BaseContext {
 
     /** Address of the user-agent host. */
     @Nullable private InetAddress address;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernameContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernameContext.java
index e5999c7..5171963 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernameContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernameContext.java
@@ -29,7 +29,7 @@ import org.opensaml.messaging.context.BaseContext;
  * @parent {@link AuthenticationContext}
  * @added After extracting a username during authentication
  */
-public class UsernameContext extends BaseContext {
+public final class UsernameContext extends BaseContext {
 
     /** The username. */
     private String username;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernamePasswordContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernamePasswordContext.java
index 0b3dc32..ff81acf 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernamePasswordContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/UsernamePasswordContext.java
@@ -29,7 +29,7 @@ import org.opensaml.messaging.context.BaseContext;
  * @parent {@link AuthenticationContext}
  * @added After extracting a username/password pair during authentication
  */
-public class UsernamePasswordContext extends BaseContext {
+public final class UsernamePasswordContext extends BaseContext {
 
     /** The username. */
     private String username;
diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/duo/context/DuoAuthenticationContext.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/duo/context/DuoAuthenticationContext.java
index 02a0a37..dfe5539 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/duo/context/DuoAuthenticationContext.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/duo/context/DuoAuthenticationContext.java
@@ -38,7 +38,7 @@ import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElemen
  * @parent {@link AuthenticationContext}
  * @added After extracting the Duo factor and device or passcode during authentication
  */
-public class DuoAuthenticationContext extends BaseContext {
+public final class DuoAuthenticationContext extends BaseContext {
 
     /** Username. */
     @Nullable private String username;
diff --git a/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/ProtocolContext.java b/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/ProtocolContext.java
index 7d3e3ad..5a0790e 100644
--- a/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/ProtocolContext.java
+++ b/idp-cas-api/src/main/java/net/shibboleth/idp/cas/protocol/ProtocolContext.java
@@ -27,7 +27,7 @@ import org.opensaml.messaging.context.BaseContext;
  * @param <RequestType> request type
  * @param <ResponseType> response type
  */
-public class ProtocolContext<RequestType, ResponseType> extends BaseContext {
+public final class ProtocolContext<RequestType, ResponseType> extends BaseContext {
     /** CAS protocol request. */
     private RequestType request;
 
diff --git a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/AttributeReleaseContext.java b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/AttributeReleaseContext.java
index cf92c46..c15f30a 100644
--- a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/AttributeReleaseContext.java
+++ b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/AttributeReleaseContext.java
@@ -35,7 +35,7 @@ import com.google.common.base.MoreObjects;
  * 
  * Holds the attributes for which consent is obtained.
  */
-public class AttributeReleaseContext extends BaseContext {
+public final class AttributeReleaseContext extends BaseContext {
 
     /** Attributes to be consented to. */
     @Nonnull @NonnullElements @Live private Map<String, IdPAttribute> consentableAttributes;
diff --git a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentContext.java b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentContext.java
index fb64c33..bcde1d9 100644
--- a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentContext.java
+++ b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentContext.java
@@ -35,7 +35,7 @@ import com.google.common.base.MoreObjects;
  * 
  * Holds consent previously given as well as obtained from user input.
  */
-public class ConsentContext extends BaseContext {
+public final class ConsentContext extends BaseContext {
 
     /** Map of previous consent read from storage and keyed by consent id. */
     @Nonnull @NonnullElements @Live private Map<String, Consent> previousConsents;
diff --git a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentManagementContext.java b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentManagementContext.java
index b5b64c1..b33c951 100644
--- a/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentManagementContext.java
+++ b/idp-consent-api/src/main/java/net/shibboleth/idp/consent/context/ConsentManagementContext.java
@@ -29,7 +29,7 @@ import com.google.common.base.MoreObjects;
  * <p>This context acts as a public interface between other flows and flows that implement
  * consent-related functionality.</p>
  */
-public class ConsentManagementContext extends BaseContext {
+public final class ConsentManagementContext extends BaseContext {
 
     /** Whether to revoke consent previously granted. */
     private boolean revokeConsent;
diff --git a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/AttributeReleaseContext.java b/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/AttributeReleaseContext.java
deleted file mode 100644
index 2d1ea0f..0000000
--- a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/AttributeReleaseContext.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements.  See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.idp.consent.context.impl;
-
-/**
- * Context for attribute release consent.
- * @deprecated Use {@link net.shibboleth.idp.consent.context.AttributeReleaseContext}
- */
-public class AttributeReleaseContext extends net.shibboleth.idp.consent.context.AttributeReleaseContext
-{}
diff --git a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/ConsentContext.java b/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/ConsentContext.java
deleted file mode 100644
index 1584e1f..0000000
--- a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/ConsentContext.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements.  See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.idp.consent.context.impl;
-
-/**
- * Context representing the state of a consent flow.
- * @deprecated Use {@link net.shibboleth.idp.consent.context.ConsentContext}
- */
-public class ConsentContext extends net.shibboleth.idp.consent.context.ConsentContext
-{}
diff --git a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/package-info.java b/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/package-info.java
deleted file mode 100644
index f98034c..0000000
--- a/idp-consent-impl/src/main/java/net/shibboleth/idp/consent/context/impl/package-info.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements.  See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Context classes related to consent.
- */
-
-package net.shibboleth.idp.consent.context.impl;
\ No newline at end of file
diff --git a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/ProfileInterceptorContext.java b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/ProfileInterceptorContext.java
index 00076e4..eea4141 100644
--- a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/ProfileInterceptorContext.java
+++ b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/ProfileInterceptorContext.java
@@ -36,7 +36,7 @@ import org.opensaml.messaging.context.BaseContext;
  * A {@link BaseContext} which holds flows that are available to be executed, the last flow attempted, and any flow
  * result.
  */
-public class ProfileInterceptorContext extends BaseContext {
+public final class ProfileInterceptorContext extends BaseContext {
 
     /** The last flow attempted. */
     @Nullable private ProfileInterceptorFlowDescriptor attemptedFlow;
diff --git a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/SpringRequestContext.java b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/SpringRequestContext.java
index 39c84f6..b167ba4 100644
--- a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/SpringRequestContext.java
+++ b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/SpringRequestContext.java
@@ -30,7 +30,7 @@ import org.springframework.webflow.execution.RequestContext;
  * <p>Actions that make use of this context type are specific to Spring Web Flow and cannot
  * be orchestrated without that technology.</p>
  */
-public class SpringRequestContext extends BaseContext {
+public final class SpringRequestContext extends BaseContext {
 
     /** The request context represented. */
     @Nullable private RequestContext context;
diff --git a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/authn/context/SAMLContext.java b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/authn/context/SAMLContext.java
index 8dc05ed..31c03d8 100644
--- a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/authn/context/SAMLContext.java
+++ b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/authn/context/SAMLContext.java
@@ -27,7 +27,7 @@ import org.opensaml.saml.saml2.core.Assertion;
  * Context, usually attached to {@link net.shibboleth.idp.authn.context.AuthenticationContext},
  * that carries a SAML {@link Assertion} to be validated.
  */
-public class SAMLContext extends BaseContext {
+public final class SAMLContext extends BaseContext {
 
     /** The assertion to be validated. */
     @Nullable private Assertion assertion;
diff --git a/idp-session-api/src/main/java/net/shibboleth/idp/session/context/LogoutPropagationContext.java b/idp-session-api/src/main/java/net/shibboleth/idp/session/context/LogoutPropagationContext.java
index fe247e2..edd2e45 100644
--- a/idp-session-api/src/main/java/net/shibboleth/idp/session/context/LogoutPropagationContext.java
+++ b/idp-session-api/src/main/java/net/shibboleth/idp/session/context/LogoutPropagationContext.java
@@ -29,7 +29,7 @@ import javax.annotation.Nullable;
  *
  * @author Marvin S. Addison
  */
-public class LogoutPropagationContext extends BaseContext {
+public final class LogoutPropagationContext extends BaseContext {
 
     /** Logout propagation result. */
     public enum Result {
diff --git a/idp-session-api/src/main/java/net/shibboleth/idp/session/context/SessionContext.java b/idp-session-api/src/main/java/net/shibboleth/idp/session/context/SessionContext.java
index 86d6d43..6081b1f 100644
--- a/idp-session-api/src/main/java/net/shibboleth/idp/session/context/SessionContext.java
+++ b/idp-session-api/src/main/java/net/shibboleth/idp/session/context/SessionContext.java
@@ -25,7 +25,7 @@ import net.shibboleth.idp.session.IdPSession;
 import org.opensaml.messaging.context.BaseContext;
 
 /** A {@link BaseContext} that holds an {@link IdPSession}. */
-public class SessionContext extends BaseContext {
+public final class SessionContext extends BaseContext {
 
     /** IdP session wrapped by this adapter. */
     private IdPSession session;
diff --git a/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java b/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
index f3bb358..e1a8fed 100644
--- a/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
+++ b/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
@@ -58,7 +58,7 @@ import net.shibboleth.utilities.java.support.primitive.StringSupport;
 /**
  * The context which carries the user interface information.
  */
-public class RelyingPartyUIContext extends BaseContext {
+public final class RelyingPartyUIContext extends BaseContext {
 
     /** The log. */
     @Nonnull private final Logger log = LoggerFactory.getLogger(RelyingPartyUIContext.class);

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


More information about the commits mailing list