[jira] [Resolved] (JCLOUDS-1591) OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception

2021-12-26 Thread Andrew Gaul (Jira)


 [ 
https://issues.apache.org/jira/browse/JCLOUDS-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Gaul resolved JCLOUDS-1591.
--
Fix Version/s: 2.5.0
   Resolution: Fixed

> OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer 
> Exception
> --
>
> Key: JCLOUDS-1591
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1591
> Project: jclouds
>  Issue Type: Bug
>Affects Versions: 2.4.0
>Reporter: Anand
>Priority: Major
>  Labels: oauth
> Fix For: 2.5.0
>
> Attachments: log.txt
>
>
> Null pointer exception is thrown when 
> ClientCredentialsJWTBearerTokenFlow.filter() creates ClientCredentialsClaims 
> using "null" in jti placeholder
> Class: org.jclouds.oauth.v2.filters.ClientCredentialsJWTBearerTokenFlow
> Method: filter
> Lines#: 
>  ClientCredentialsClaims claims = ClientCredentialsClaims.create( //
> credentialsSupplier.get().identity, // iss
> credentialsSupplier.get().identity, // sub
> oauthConfig.audience(), // aud
> -1, // placeholder exp for the cache
> -1, // placeholder nbf for the cache
> null // placeholder jti for the cache
> );
> Ran into this exception during OAuth using 
> org.jclouds.oauth.v2.config.CredentialType.CLIENT_CREDENTIALS_P12_AND_CERTIFICATE.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (JCLOUDS-1591) OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception

2021-12-26 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JCLOUDS-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17465564#comment-17465564
 ] 

ASF subversion and git services commented on JCLOUDS-1591:
--

Commit c95ddff0205ce2c54fe2f677769e71a59417835d in jclouds's branch 
refs/heads/master from SATYANAN-ANAND
[ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=c95ddff ]

JCLOUDS-1591: Fix NPE in ClientCredentialsClaims



> OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer 
> Exception
> --
>
> Key: JCLOUDS-1591
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1591
> Project: jclouds
>  Issue Type: Bug
>Affects Versions: 2.4.0
>Reporter: Anand
>Priority: Major
>  Labels: oauth
> Attachments: log.txt
>
>
> Null pointer exception is thrown when 
> ClientCredentialsJWTBearerTokenFlow.filter() creates ClientCredentialsClaims 
> using "null" in jti placeholder
> Class: org.jclouds.oauth.v2.filters.ClientCredentialsJWTBearerTokenFlow
> Method: filter
> Lines#: 
>  ClientCredentialsClaims claims = ClientCredentialsClaims.create( //
> credentialsSupplier.get().identity, // iss
> credentialsSupplier.get().identity, // sub
> oauthConfig.audience(), // aud
> -1, // placeholder exp for the cache
> -1, // placeholder nbf for the cache
> null // placeholder jti for the cache
> );
> Ran into this exception during OAuth using 
> org.jclouds.oauth.v2.config.CredentialType.CLIENT_CREDENTIALS_P12_AND_CERTIFICATE.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[GitHub] [jclouds] gaul commented on pull request #128: Update ClientCredentialsClaims.java

2021-12-26 Thread GitBox


gaul commented on pull request #128:
URL: https://github.com/apache/jclouds/pull/128#issuecomment-1001393292


   Thank you for your contribution @SATYANAN-ANAND!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [jclouds] gaul merged pull request #128: Update ClientCredentialsClaims.java

2021-12-26 Thread GitBox


gaul merged pull request #128:
URL: https://github.com/apache/jclouds/pull/128


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [jclouds] SATYANAN-ANAND commented on a change in pull request #128: Update ClientCredentialsClaims.java

2021-12-26 Thread GitBox


SATYANAN-ANAND commented on a change in pull request #128:
URL: https://github.com/apache/jclouds/pull/128#discussion_r775366148



##
File path: 
apis/oauth/src/main/java/org/jclouds/oauth/v2/domain/ClientCredentialsClaims.java
##
@@ -49,6 +50,7 @@
 public abstract long nbf();
 
 /** "JWT ID", a unique identifier for the JWT. */
+@Nullable

Review comment:
   Modified as per the comment and commit the changes.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@jclouds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Build failed in Jenkins: JClouds » jclouds-with-credentials » jclouds-google-compute-engine-live-tests #71

2021-12-26 Thread Apache Jenkins Server
See 


Changes:


--
Started by timer
Running as SYSTEM
No JDK named ?JDK 1.8 (latest)? found
[EnvInject] - Loading node environment variables.
Building remotely on builds23 (ubuntu) in workspace 

No JDK named ?JDK 1.8 (latest)? found
ERROR: A Maven installation needs to be available for this project to be 
built.Either your server has no Maven installations defined, or the requested 
Maven version does not exist.
No JDK named ?JDK 1.8 (latest)? found
No JDK named ?JDK 1.8 (latest)? found