This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
Expression-Support for 'realm'
This release bring support for realm-checks in expressions. An example can be seen here. For configuration have look at this line.
You can now define expressions like:
- #oauth2.hasRealm('/customrealm')
- #oauth2.hasAnyRealm('/customrealm','nextCustomRealm','howManyRealmsDoYouHaveMan')
You are also able to combine them:
- (#oauth2.hasRealm('/customrealm') && #oauth2.hasScope('uid'))
- (#oauth2.hasScope('uid') && #oauth2.hasAnyRealm('/customrealm','nextCustomRealm','howManyRealmsDoYouHaveMan'))
But to make the last expression a bit shorter, we also provide something like
- #oauth2.hasUidScopeAndRealm('/customrealm')
- #oauth2.hasUidScopeAndAnyRealm('/customrealm','nextCustomRealm','howManyRealmsDoYouHaveMan')
PR's merged
- #24 thanks to Lukas Niemeier
- #22 see above for description
- #21 'choose request-factory by dependencies in classpath'
Thanks to all for reporting issues and PR's.