[java-oidc-common] branch main updated: Fix style and annotations

Phil Smart philip.smart at jisc.ac.uk
Wed Jun 4 12:46:42 UTC 2025


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

philsmart 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=7ee6b4b3b3a7d99393b7c5d87c1571031b1fd006

The following commit(s) were added to refs/heads/main by this push:
     new 7ee6b4b  Fix style and annotations
7ee6b4b is described below

commit 7ee6b4b3b3a7d99393b7c5d87c1571031b1fd006
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Jun 4 13:46:29 2025 +0100

    Fix style and annotations
---
 .../AbstractOAuth2ClientAuthenticableProfileConfiguration.java   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/AbstractOAuth2ClientAuthenticableProfileConfiguration.java b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/AbstractOAuth2ClientAuthenticableProfileConfiguration.java
index 2c67b55..1e653ee 100644
--- a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/AbstractOAuth2ClientAuthenticableProfileConfiguration.java
+++ b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/AbstractOAuth2ClientAuthenticableProfileConfiguration.java
@@ -661,12 +661,14 @@ public abstract class AbstractOAuth2ClientAuthenticableProfileConfiguration
      * @since 3.3.0
      */
     public void setUseTargetedEndpointAsJWTAudience(final boolean flag) {
-        useTargetedEndpointAsJWTAudiencePredicate = flag ? PredicateSupport.alwaysTrue() : PredicateSupport.alwaysFalse();
+        useTargetedEndpointAsJWTAudiencePredicate = 
+                flag ? PredicateSupport.alwaysTrue() : PredicateSupport.alwaysFalse();
     }
     
     /** {@inheritDoc} */
     @Override
-    @Nullable public String getClientAuthenticationJWTType(final ProfileRequestContext profileRequestContext) {
+    @Nullable public String getClientAuthenticationJWTType(
+            @Nullable final ProfileRequestContext profileRequestContext) {
         return clientAuthenticationJWTTypeLookupStrategy.apply(profileRequestContext);
     }
     
@@ -691,7 +693,6 @@ public abstract class AbstractOAuth2ClientAuthenticableProfileConfiguration
      * @since 3.3.0
      */
     public void setClientAuthenticationJWTType(@Nullable final String type) {
-        clientAuthenticationJWTTypeLookupStrategy = 
-                FunctionSupport.constant(type);
+        clientAuthenticationJWTTypeLookupStrategy = FunctionSupport.constant(type);
     }
 }
\ No newline at end of file

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


More information about the commits mailing list