-
Notifications
You must be signed in to change notification settings - Fork 25.2k
OIDC realm authentication flows #37787
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
Merged
jkakavas
merged 26 commits into
elastic:feature-oidc-realm
from
jkakavas:oidc-realm-authentication-flows
Feb 5, 2019
Merged
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6448271
Implement code and implicit flows
jkakavas 92f63ef
fix licenses and SHAs for introduced dependencies
jkakavas 19034ce
Support userinfo requests
jkakavas aaa5426
Merge remote-tracking branch 'origin/master' into oidc-realm-authenti…
jkakavas 6614057
Add few tests
jkakavas b70526a
Fix bugs and add unit tests
jkakavas 422319d
Merge remote-tracking branch 'origin/feature-oidc-realm' into oidc-re…
jkakavas 05910d9
Address Feedback
jkakavas 22e8bb7
Merge remote-tracking branch 'origin/feature-oidc-realm' into oidc-re…
jkakavas b8aa5be
Fix Access Token validation
jkakavas e3204f5
Completes security tests
jkakavas ad493a9
Merge remote-tracking branch 'origin/feature-oidc-realm' into oidc-re…
jkakavas b3cbd8d
Fix checkstyle
jkakavas 0a0ae0e
Make JWKSource reloading async
jkakavas bc1f552
Merge remote-tracking branch 'origin/feature-oidc-realm' into oidc-re…
jkakavas baadcdb
fix thirdPartyAudit
jkakavas 09413b5
address feedback
jkakavas 59bc122
cleanup
jkakavas b368ffc
re-introduce the option for facilitators to pass state and nonce values
jkakavas 81a1770
remove unused import
jkakavas c9c1cf7
Merge branch 'feature-oidc-realm' into oidc-realm-authentication-flows
jkakavas 3450541
fix tests
jkakavas 9d30bd2
address feedback
jkakavas 82d23a6
Merge branch 'feature-oidc-realm' into oidc-realm-authentication-flows
jkakavas 6098583
Handle deprecation header-AbstractUpgradeTestCase
jkakavas fa7c024
Revert "Handle deprecation header-AbstractUpgradeTestCase"
jkakavas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,16 @@ dependencies { | |
compile "org.apache.httpcomponents:httpclient-cache:${versions.httpclient}" | ||
compile 'com.google.guava:guava:19.0' | ||
|
||
// Dependencies for oidc | ||
compile "com.nimbusds:oauth2-oidc-sdk:6.5" | ||
compile "com.nimbusds:nimbus-jose-jwt:4.41.2" | ||
compile "com.nimbusds:lang-tag:1.4.4" | ||
compile "com.sun.mail:javax.mail:1.6.2" | ||
compile "net.jcip:jcip-annotations:1.0" | ||
compile "net.minidev:json-smart:2.3" | ||
compile "net.minidev:accessors-smart:1.2" | ||
|
||
|
||
testCompile 'org.elasticsearch:securemock:1.2' | ||
testCompile "org.elasticsearch:mocksocket:${versions.mocksocket}" | ||
//testCompile "org.yaml:snakeyaml:${versions.snakeyaml}" | ||
|
@@ -160,7 +170,7 @@ forbiddenPatterns { | |
} | ||
|
||
forbiddenApisMain { | ||
signaturesFiles += files('forbidden/ldap-signatures.txt', 'forbidden/xml-signatures.txt') | ||
signaturesFiles += files('forbidden/ldap-signatures.txt', 'forbidden/xml-signatures.txt', 'forbidden/oidc-signatures.txt') | ||
} | ||
|
||
// classes are missing, e.g. com.ibm.icu.lang.UCharacter | ||
|
@@ -257,7 +267,13 @@ thirdPartyAudit { | |
'net.sf.ehcache.Ehcache', | ||
'net.sf.ehcache.Element', | ||
// [missing classes] SLF4j includes an optional class that depends on an extension class (!) | ||
'org.slf4j.ext.EventData' | ||
'org.slf4j.ext.EventData', | ||
'org.cryptomator.siv.SivMode', | ||
'org.objectweb.asm.ClassWriter', | ||
'org.objectweb.asm.Label', | ||
'org.objectweb.asm.MethodVisitor', | ||
'org.objectweb.asm.Type' | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: extra line |
||
) | ||
|
||
ignoreViolations ( | ||
|
@@ -278,7 +294,13 @@ if (project.runtimeJavaVersion > JavaVersion.VERSION_1_8) { | |
'javax.xml.bind.JAXBElement', | ||
'javax.xml.bind.JAXBException', | ||
'javax.xml.bind.Unmarshaller', | ||
'javax.xml.bind.UnmarshallerHandler' | ||
'javax.xml.bind.UnmarshallerHandler', | ||
'javax.activation.ActivationDataFlavor', | ||
'javax.activation.DataContentHandler', | ||
'javax.activation.DataHandler', | ||
'javax.activation.DataSource', | ||
'javax.activation.FileDataSource', | ||
'javax.activation.FileTypeMap' | ||
) | ||
} | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@defaultMessage Blocking methods should not be used for HTTP requests. Use CloseableHttpAsyncClient instead | ||
com.nimbusds.oauth2.sdk.http.HTTPRequest#send(javax.net.ssl.HostnameVerifier, javax.net.ssl.SSLSocketFactory) | ||
com.nimbusds.oauth2.sdk.http.HTTPRequest#send() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c592b500269bfde36096641b01238a8350f8aa31 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.