[java-oidc-common] branch main updated: Javadoc and checkstyle fixes.
Henri Mikkonen
henri.mikkonen at iki.fi
Thu May 4 15:57:05 UTC 2023
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=2e744c3df25ee32e0672362ec1c8cde8fcc6d9f5
The following commit(s) were added to refs/heads/main by this push:
new 2e744c3 Javadoc and checkstyle fixes.
2e744c3 is described below
commit 2e744c3df25ee32e0672362ec1c8cde8fcc6d9f5
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu May 4 18:56:52 2023 +0300
Javadoc and checkstyle fixes.
---
.../security/credential/JWACredentialSupport.java | 4 ++--
.../impl/BasicJOSEObjectCredentialResolver.java | 2 +-
.../impl/ClientInformationCredentialResolver.java | 3 ++-
.../ClientSecretCriterionCredentialResolver.java | 2 +-
.../impl/DataEncryptionAlgorithmCriterion.java | 16 ++++++++++++++++
.../EvaluableMACKeyLengthCredentialCriterion.java | 16 ++++++++++++++++
.../impl/KeyManagmentAlgorithmCriterion.java | 16 ++++++++++++++++
.../impl/BaseJWTSignatureSecurityHandler.java | 11 ++++++-----
.../oidc/security/impl/SignJWTHandler.java | 4 ++--
.../BasicSignatureSigningParametersResolver.java | 6 +++++-
.../jwt/claims/impl/AudienceClaimsValidator.java | 4 ++--
.../impl/AuthTimeRequestedActivationCondition.java | 7 ++++++-
.../impl/AuthenticationTimeClaimsValidator.java | 4 +++-
.../RequestedEssentialACRClaimsLookupStrategy.java | 7 ++++++-
.../shibboleth/oidc/profile/audit/package-info.java | 21 +++++++++++++++++++++
.../profile/messaging/context/package-info.java | 21 +++++++++++++++++++++
.../oidc/profile/config/impl/package-info.java | 21 +++++++++++++++++++++
.../profile/oauth2/config/impl/package-info.java | 21 +++++++++++++++++++++
.../saml/xmlobject/impl/OAuthRPExtensionsImpl.java | 4 ++--
19 files changed, 170 insertions(+), 20 deletions(-)
diff --git a/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/credential/JWACredentialSupport.java b/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/credential/JWACredentialSupport.java
index b3494ca..720c965 100644
--- a/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/credential/JWACredentialSupport.java
+++ b/oidc-common-crypto-api/src/main/java/net/shibboleth/oidc/security/credential/JWACredentialSupport.java
@@ -37,7 +37,7 @@ import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
public final class JWACredentialSupport {
/** Logger. */
- private static final Logger log = LoggerFactory.getLogger(JWACredentialSupport.class);
+ private static final Logger LOG = LoggerFactory.getLogger(JWACredentialSupport.class);
/** Constructor. */
private JWACredentialSupport() { }
@@ -117,7 +117,7 @@ public final class JWACredentialSupport {
keyLengthMatch = keyLength >= 512;
}
if (!keyLengthMatch) {
- log.trace("Key length of {} bits does not match minimum required for algorithm '{}'", keyLength, macAlg);
+ LOG.trace("Key length of {} bits does not match minimum required for algorithm '{}'", keyLength, macAlg);
return false;
} else {
return true;
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/BasicJOSEObjectCredentialResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/BasicJOSEObjectCredentialResolver.java
index ff495f5..796b43a 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/BasicJOSEObjectCredentialResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/BasicJOSEObjectCredentialResolver.java
@@ -298,7 +298,7 @@ public class BasicJOSEObjectCredentialResolver extends AbstractCriteriaFiltering
return derivedCred;
} catch (final JOSEException e) {
- log.warn("Unable to derive symmetric encryption key from client_secret using 'alg={}' and 'enc={}'",
+ log.warn("Unable to derive symmetric encryption key from client_secret using 'alg={}' and 'enc={}'",
alg.getAlgorithm(), enc.getEncAlgorithm());
}
throw new ResolverException("Unable to create encryption key from client_secret");
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientInformationCredentialResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientInformationCredentialResolver.java
index cecd9f1..2600371 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientInformationCredentialResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientInformationCredentialResolver.java
@@ -119,7 +119,8 @@ public class ClientInformationCredentialResolver extends BasicJOSEObjectCredenti
Constraint.isNotNull(criteriaSet, "CriteriaSet was null");
if (criteriaSet.contains(ClientInformationCriterion.class)) {
- final OIDCClientInformation information = criteriaSet.get(ClientInformationCriterion.class).getOidcClientInformation();
+ final OIDCClientInformation information =
+ criteriaSet.get(ClientInformationCriterion.class).getOidcClientInformation();
return resolveFromMetadata(criteriaSet, information);
} else {
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientSecretCriterionCredentialResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientSecretCriterionCredentialResolver.java
index 041b601..91d910f 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientSecretCriterionCredentialResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/ClientSecretCriterionCredentialResolver.java
@@ -38,7 +38,7 @@ import net.shibboleth.utilities.java.support.resolver.ResolverException;
*
* <p>A different key credential is derived for different usage types. MAC ('signing') keys are generated directly off
* the UTF-8 octets of the client_secret. Encryption/Decryption keys are generated specifically for the key management
- * mode and encryption algorithm pulled out of the criteria set —and as such, if these criteria do not exist, resolution
+ * mode and encryption algorithm pulled out of the criteria set —and as such, if these criteria do not exist, resolution
* for encryption keys will fail.</p>
*/
public class ClientSecretCriterionCredentialResolver extends BasicJOSEObjectCredentialResolver {
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/DataEncryptionAlgorithmCriterion.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/DataEncryptionAlgorithmCriterion.java
index 5271285..2059f0e 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/DataEncryptionAlgorithmCriterion.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/DataEncryptionAlgorithmCriterion.java
@@ -1,3 +1,19 @@
+/*
+ * 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.oidc.security.credential.impl;
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableMACKeyLengthCredentialCriterion.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableMACKeyLengthCredentialCriterion.java
index 9d8a59f..864c4da 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableMACKeyLengthCredentialCriterion.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/EvaluableMACKeyLengthCredentialCriterion.java
@@ -1,3 +1,19 @@
+/*
+ * 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.oidc.security.credential.impl;
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/KeyManagmentAlgorithmCriterion.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/KeyManagmentAlgorithmCriterion.java
index 3179a18..923557c 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/KeyManagmentAlgorithmCriterion.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/credential/impl/KeyManagmentAlgorithmCriterion.java
@@ -1,3 +1,19 @@
+/*
+ * 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.oidc.security.credential.impl;
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
index ef79c1b..7657d57 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/BaseJWTSignatureSecurityHandler.java
@@ -104,10 +104,10 @@ public abstract class BaseJWTSignatureSecurityHandler extends BaseTrustEngineSec
@Nullable private OIDCPeerEntityContext peerContext;
/** The provider metadata found from the lookup strategy.*/
- @Nullable protected OIDCProviderMetadata providerMetadata;
+ @Nullable private OIDCProviderMetadata providerMetadata;
/** The client information found from the lookup strategy. */
- @Nullable protected OIDCClientInformation clientInformation;
+ @Nullable private OIDCClientInformation clientInformation;
/** Constructor.*/
protected BaseJWTSignatureSecurityHandler() {
@@ -211,8 +211,8 @@ public abstract class BaseJWTSignatureSecurityHandler extends BaseTrustEngineSec
}
@Override
- protected CriteriaSet buildCriteriaSet(@Nullable final String entityID, @Nonnull final MessageContext messageContext)
- throws MessageHandlerException {
+ protected CriteriaSet buildCriteriaSet(@Nullable final String entityID,
+ @Nonnull final MessageContext messageContext) throws MessageHandlerException {
final CriteriaSet criteriaSet = new CriteriaSet();
@@ -230,7 +230,8 @@ public abstract class BaseJWTSignatureSecurityHandler extends BaseTrustEngineSec
}
if (profileConfiguration != null) {
- final ClientSecretCredential credential = profileConfiguration.getClientCredential(PRC_LOOKUP.apply(messageContext));
+ final ClientSecretCredential credential =
+ profileConfiguration.getClientCredential(PRC_LOOKUP.apply(messageContext));
if (credential != null) {
criteriaSet.add(new ClientSecretCredentialCriterion(credential));
} else {
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
index 0c81cbc..5e7d1b8 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/SignJWTHandler.java
@@ -272,8 +272,8 @@ public class SignJWTHandler extends AbstractMessageHandler {
final JWSAlgorithm algorithm = new JWSAlgorithm(signatureSigningParameters.getSignatureAlgorithm());
if (credential instanceof JWKCredential && !algorithm.equals(((JWKCredential) credential).getAlgorithm())) {
log.debug("{} Signature signing algorithm {} differs from JWK algorithm '{}'", getLogPrefix(),
- algorithm.getName(), (((JWKCredential) credential).getAlgorithm() != null ?
- ((JWKCredential) credential).getAlgorithm() : "not specified"));
+ algorithm.getName(), ((JWKCredential) credential).getAlgorithm() != null ?
+ ((JWKCredential) credential).getAlgorithm() : "not specified");
}
log.trace("{} Algorithm resolved {}", getLogPrefix(), algorithm.getName());
return algorithm;
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/BasicSignatureSigningParametersResolver.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/BasicSignatureSigningParametersResolver.java
index ba4f4dc..f9a862c 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/BasicSignatureSigningParametersResolver.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jose/impl/BasicSignatureSigningParametersResolver.java
@@ -261,6 +261,8 @@ public class BasicSignatureSigningParametersResolver
return new AlgorithmRuntimeSupportedPredicate(getAlgorithmRegistry());
}
+ // Checkstyle: CyclomaticComplexity OFF
+
/**
* Evaluate whether the specified credential is supported for use with the specified signing algorithm.
*
@@ -302,7 +304,9 @@ public class BasicSignatureSigningParametersResolver
return false;
}
}
-
+
+ // Checkstyle: CyclomaticComplexity ON
+
/**
* Get the effective list of signing credentials to consider.
*
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AudienceClaimsValidator.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AudienceClaimsValidator.java
index 4763c4c..8700a73 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AudienceClaimsValidator.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AudienceClaimsValidator.java
@@ -169,7 +169,7 @@ public class AudienceClaimsValidator extends AbstractClaimsValidator{
final List<String> audList = claims.getAudience();
- if ((audList == null || audList.isEmpty())) {
+ if (audList == null || audList.isEmpty()) {
if (!allowMissing) {
// No audience but an audience is required
throw new JWTValidationException("JWT missing required audience");
@@ -180,7 +180,7 @@ public class AudienceClaimsValidator extends AbstractClaimsValidator{
}
// Filter nulls from audList
- final List<String> audListFiltered = audList.stream().filter(Objects::nonNull).collect(Collectors.toList());
+ final List<String> audListFiltered = audList.stream().filter(Objects::nonNull).collect(Collectors.toList());
final boolean acceptedAudienceMatch = audListFiltered.stream().anyMatch(acceptedAudiences::contains);
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthTimeRequestedActivationCondition.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthTimeRequestedActivationCondition.java
index 2465fe7..b568c69 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthTimeRequestedActivationCondition.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthTimeRequestedActivationCondition.java
@@ -51,7 +51,12 @@ public final class AuthTimeRequestedActivationCondition implements BiPredicate<P
/** Strategy to find the authentication request.*/
@Nonnull private final
Function<ProfileRequestContext, OIDCAuthenticationRequest> authenticationRequestLookupStrategy;
-
+
+ /**
+ * Constructor.
+ *
+ * @param strategy strategy to find the authentication request
+ */
public AuthTimeRequestedActivationCondition(@ParameterName(name = "authenticationRequestLookupStrategy")
@Nonnull final Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) {
authenticationRequestLookupStrategy = Constraint.isNotNull(strategy,
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
index ad7773d..cbbda8e 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/AuthenticationTimeClaimsValidator.java
@@ -46,7 +46,7 @@ import net.shibboleth.utilities.java.support.logic.FunctionSupport;
* <ol>
* <li>If the authnLifetimeLookup returns 0 seconds (e.g. max_age=0), assume the 'forced authentication' semantic, and
* check the auth_time is after the authentication request time.</li>
- * <li>Or, if the authnLifetimeLookup returns a value >0, check the authentication occurred within a valid expiration
+ * <li>Or, if the authnLifetimeLookup returns a value >0, check the authentication occurred within a valid expiration
* window.</li>
* </ol>
*
@@ -162,6 +162,7 @@ public class AuthenticationTimeClaimsValidator extends AbstractClaimsValidator {
"AuthnLifetime Lookup Strategy can not be null");
}
+ // Checkstyle: CyclomaticComplexity|MethodLength OFF
@Override
public void doValidate(@Nonnull final JWTClaimsSet claimsSet, @Nonnull final ProfileRequestContext context)
throws JWTValidationException {
@@ -243,4 +244,5 @@ public class AuthenticationTimeClaimsValidator extends AbstractClaimsValidator {
}
+ // Checkstyle: CyclomaticComplexity|MethodLength ON
}
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/RequestedEssentialACRClaimsLookupStrategy.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/RequestedEssentialACRClaimsLookupStrategy.java
index 2723898..d105fb8 100644
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/RequestedEssentialACRClaimsLookupStrategy.java
+++ b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/jwt/claims/impl/RequestedEssentialACRClaimsLookupStrategy.java
@@ -49,7 +49,12 @@ public class RequestedEssentialACRClaimsLookupStrategy
/** Strategy to find the authentication request.*/
@Nonnull private final
Function<ProfileRequestContext, OIDCAuthenticationRequest> authenticationRequestLookupStrategy;
-
+
+ /**
+ * Constructor.
+ *
+ * @param strategy strategy to find the authentication request
+ */
public RequestedEssentialACRClaimsLookupStrategy(@ParameterName(name = "authenticationRequestLookupStrategy")
@Nonnull final Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) {
authenticationRequestLookupStrategy = Constraint.isNotNull(strategy,
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/audit/package-info.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/audit/package-info.java
new file mode 100644
index 0000000..4291da3
--- /dev/null
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/audit/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/**
+ * Audit logging related to OIDC functionality.
+ */
+package net.shibboleth.oidc.profile.audit;
\ No newline at end of file
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/context/package-info.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/context/package-info.java
new file mode 100644
index 0000000..0f0349a
--- /dev/null
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/context/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/**
+ * OIDC messaging contexts.
+ */
+package net.shibboleth.oidc.profile.messaging.context;
\ No newline at end of file
diff --git a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/config/impl/package-info.java b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/config/impl/package-info.java
new file mode 100644
index 0000000..7fb2100
--- /dev/null
+++ b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/config/impl/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/**
+ * Profile configuration implementations related to OIDC functionality.
+ */
+package net.shibboleth.oidc.profile.config.impl;
\ No newline at end of file
diff --git a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/package-info.java b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/package-info.java
new file mode 100644
index 0000000..fcfc14d
--- /dev/null
+++ b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/**
+ * OAuth2 profile configuration implementations.
+ */
+package net.shibboleth.oidc.profile.oauth2.config.impl;
\ No newline at end of file
diff --git a/oidc-common-saml-impl/src/main/java/net/shibboleth/oidc/saml/xmlobject/impl/OAuthRPExtensionsImpl.java b/oidc-common-saml-impl/src/main/java/net/shibboleth/oidc/saml/xmlobject/impl/OAuthRPExtensionsImpl.java
index 3c3f3f6..065aa46 100644
--- a/oidc-common-saml-impl/src/main/java/net/shibboleth/oidc/saml/xmlobject/impl/OAuthRPExtensionsImpl.java
+++ b/oidc-common-saml-impl/src/main/java/net/shibboleth/oidc/saml/xmlobject/impl/OAuthRPExtensionsImpl.java
@@ -411,7 +411,7 @@ public class OAuthRPExtensionsImpl extends AbstractXMLObject implements OAuthRPE
}
/** {@inheritDoc} */
- public void setBackChannelLogoutSessionRequired(boolean flag) {
+ public void setBackChannelLogoutSessionRequired(final boolean flag) {
backChannelLogoutSessionRequired = flag;
}
@@ -421,7 +421,7 @@ public class OAuthRPExtensionsImpl extends AbstractXMLObject implements OAuthRPE
}
/** {@inheritDoc} */
- public void setFrontChannelLogoutSessionRequired(boolean flag) {
+ public void setFrontChannelLogoutSessionRequired(final boolean flag) {
frontChannelLogoutSessionRequired = flag;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list