Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAYARA-1394 OAuth 2 client integration #2650

Merged

Conversation

Cousjava
Copy link
Contributor

No description provided.

@Cousjava Cousjava added this to the Payara 5.182 milestone Apr 18, 2018
@Cousjava
Copy link
Contributor Author

Jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

@Cousjava
Copy link
Contributor Author

Jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

* @return
*/
@Override
public CredentialValidationResult validate(Credential credentials){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method shouldn't be needed as the interface already contains a default method for this (indeed, examples still don't always use that interface method)

@Cousjava Cousjava force-pushed the PAYARA-1394-oauth-client-integration branch from 60b6139 to a9fb9ba Compare April 25, 2018 11:02
@payara-ci
Copy link
Contributor

Quick build and test failed!

@payara payara deleted a comment from payara-ci Apr 25, 2018
@Cousjava
Copy link
Contributor Author

Jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

@arjantijms arjantijms merged commit 6cc4970 into payara:master Apr 25, 2018
Cousjava added a commit to Cousjava/Payara that referenced this pull request Apr 26, 2018
* PAYARA-1394 OAuth2 integration - new annotation and handler for it

* PAYARA-1394 Compiling version of basic mechanism

Does not work due to OSGi issues

* PAYARA-1394 resolved OSGi errors

* PAYARA-1394 removed HK2 annotations, using pure CDi

* PAYARA-1394 added import for annotation

* PAYARA-1394 oauth mechanism handler successfuly created, although innjection in it fails

* PAYARA-1394 Another way to produce the mechanism

Fails to inject OAuth2State

* PAYARA-1394 OAuth handler now works

* PAYARA-1394 Added default identity store

OAuth integration now appears to work, but needs further testing

* PAYARA-1394 authentication mechanism is now only used when a request is made to a secured page

Also split up OAuthState so some methods are part of the public api

* PAYARA-1394 OAuth integration now only is called when necessary

* PAYARA-1394 Split state into two files, added moduleinfo and javadoc comments

* PAYARA-1394 minor bug fixes, now  only use one logger name

* PAYARA-1394 Added enviroment variable substitution for the annotation

* PAYARA-1394 Correct scope name, remove extraenous code

* PAYARA-1394 add comma in imports; fix incorrect merge
* @return
*/
@NotNull
String authEndpoint();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put a full name in here, not 'auth'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants