-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Token based authentication extension libraries (#1)
* draft core and entraid * - deploy parent pom - core snapshot * entra id integration and snapshot workflows * install local maven * fix testcontext * set azure params * build into local dependency * release workflow * remove jedis build from enraid_snapshot * - add ManagedentityInfo - add ServicePrincipalInfo - unwrap ExecutionException - auth with managedId s - remove EntraIDTokenAuthConfig * - remove doctest - add unit and integration tests - add executor to shutdown in TokenManager (review from Ivo) * - experimental release with branch - remove snapshot * - fix failed release * - support full customization of different MSAL application types and advanced configurations with EntraIDTokenAuthConfigBuilder - add more unit tests * - fix missing assignment * - cleanup - fix cert issue - drop jedis integration tests (move to jedis) - add unit tests - change textcontext to load demand * - release drafter - make config builders generic - force refresh with managedidentity - skipcache with confidentialclientapp - add builder cloners * - change exception propogation/handling - fix units tests - set DEFAULT_EXPIRATION_REFRESH_RATIO in entraid 0.75 * - add getuser to Token interface - set user in JWToken * remove all jedis config and dependency * review from @tishun - licesing statement - checkout action version - drop useless file * review from @tishun - attemp to increase readibility and establish a clear seperation of responsibilties via breaking tokenmanager into multiple classes and interfaces. - added some comments to explain the logic
- Loading branch information
Showing
42 changed files
with
3,839 additions
and
121 deletions.
There are no files selected for viewing
This file contains 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,32 @@ | ||
<!-- | ||
Github issues should be used to report bugs and for detailed feature requests. | ||
Everything else belongs in the [Redis EntraID Google Group](https://groups.google.com/g/entraid_redis) | ||
or [Redis EntraID Github Discussions](https://github.com/redis/entraid/discussions). | ||
|
||
Please post general questions to Google Groups or Github discussions. | ||
These can be closed without response when posted to Github issues. | ||
--> | ||
|
||
### Expected behavior | ||
|
||
Write here what you're expecting ... | ||
|
||
### Actual behavior | ||
|
||
Write here what happens instead ... | ||
|
||
### Steps to reproduce: | ||
|
||
Please create a reproducible case of your problem. Make sure | ||
that case repeats consistently and it's not random | ||
1. | ||
2. | ||
3. | ||
|
||
### Redis / EntraID Configuration | ||
|
||
#### ClientLibrary and version: | ||
|
||
#### Redis version: | ||
|
||
#### Java version: |
This file contains 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,7 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains 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,28 @@ | ||
matrix: | ||
- name: Markdown | ||
expect_match: false | ||
apsell: | ||
lang: en | ||
d: en_US | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- .github/wordlist.txt | ||
output: wordlist.dic | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- markdown.extensions.extra: | ||
- pyspelling.filters.html: | ||
comments: false | ||
attributes: | ||
- alt | ||
ignores: | ||
- ':matches(code, pre)' | ||
- code | ||
- pre | ||
- blockquote | ||
- img | ||
sources: | ||
- '*.md' | ||
- 'docs/**' |
This file contains 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,306 @@ | ||
!!!Spelling check failed!!! | ||
APM | ||
ARGV | ||
BFCommands | ||
BitOP | ||
BitPosParams | ||
BuilderFactory | ||
CFCommands | ||
CMSCommands | ||
CallNotPermittedException | ||
CircuitBreaker | ||
ClientKillParams | ||
ClusterNode | ||
ClusterNodes | ||
ClusterPipeline | ||
ClusterPubSub | ||
ConnectionPool | ||
CoreCommands | ||
EVAL | ||
EVALSHA | ||
Failback | ||
Failover | ||
FTCreateParams | ||
FTSearchParams | ||
GSON | ||
GenericObjectPool | ||
GenericObjectPoolConfig | ||
GeoAddParams | ||
GeoRadiusParam | ||
GeoRadiusStoreParam | ||
GeoUnit | ||
GraphCommands | ||
Grokzen's | ||
HostAndPort | ||
HostnameVerifier | ||
INCR | ||
IOError | ||
Instrumentations | ||
JDK | ||
JSONArray | ||
JSONCommands | ||
Jaeger | ||
Javadocs | ||
ListPosition | ||
Ludovico | ||
Magnocavallo | ||
McCurdy | ||
NOSCRIPT | ||
NUMPAT | ||
NUMPT | ||
NUMSUB | ||
OSS | ||
OpenCensus | ||
OpenTelemetry | ||
OpenTracing | ||
Otel | ||
POJO | ||
POJOs | ||
PubSub | ||
Queable | ||
READONLY | ||
RediSearch | ||
RediSearchCommands | ||
RedisBloom | ||
RedisCluster | ||
RedisClusterCommands | ||
RedisClusterException | ||
RedisClusters | ||
RedisGraph | ||
RedisInstrumentor | ||
RedisJSON | ||
RedisTimeSeries | ||
SHA | ||
SSLParameters | ||
SSLSocketFactory | ||
SearchCommands | ||
SentinelCommands | ||
SentinelConnectionPool | ||
ShardInfo | ||
Sharded | ||
Solovyov | ||
SortingParams | ||
SpanKind | ||
Specfiying | ||
StatusCode | ||
StreamEntryID | ||
TCP | ||
TOPKCommands | ||
Throwable | ||
TimeSeriesCommands | ||
URI | ||
UnblockType | ||
Uptrace | ||
ValueError | ||
WATCHed | ||
WatchError | ||
XTrimParams | ||
ZAddParams | ||
ZParams | ||
aclDelUser | ||
api | ||
approximateLength | ||
arg | ||
args | ||
async | ||
asyncio | ||
autoclass | ||
automodule | ||
backoff | ||
bdb | ||
behaviour | ||
bitcount | ||
bitop | ||
bitpos | ||
bool | ||
boolean | ||
booleans | ||
bysource | ||
charset | ||
clientId | ||
clientKill | ||
clientUnblock | ||
clusterCountKeysInSlot | ||
clusterKeySlot | ||
configs | ||
consumerName | ||
consumername | ||
cumbersome | ||
dbIndex | ||
dbSize | ||
decr | ||
decrBy | ||
del | ||
destKey | ||
dev | ||
dstKey | ||
dstkey | ||
eg | ||
exc | ||
expireAt | ||
failback | ||
failover | ||
faoliver | ||
firstName | ||
firsttimersonly | ||
fo | ||
genindex | ||
geoadd | ||
georadiusByMemberStore | ||
georadiusStore | ||
getbit | ||
gmail | ||
groupname | ||
hdel | ||
hexists | ||
hincrBy | ||
hincrByFloat | ||
hiredis | ||
hlen | ||
hset | ||
hsetnx | ||
hstrlen | ||
http | ||
idx | ||
iff | ||
incr | ||
incrBy | ||
incrByFloat | ||
ini | ||
json | ||
keyslot | ||
keyspace | ||
keysvalues | ||
kwarg | ||
lastName | ||
lastsave | ||
linsert | ||
linters | ||
llen | ||
localhost | ||
lpush | ||
lpushx | ||
lrem | ||
lua | ||
makeapullrequest | ||
maxLen | ||
maxdepth | ||
maya | ||
memberCoordinateMap | ||
mget | ||
microservice | ||
microservices | ||
millisecondsTimestamp | ||
mset | ||
msetnx | ||
multikey | ||
mykey | ||
newkey | ||
nonatomic | ||
observability | ||
oldkey | ||
opentelemetry | ||
oss | ||
param | ||
params | ||
performant | ||
pexpire | ||
pexpireAt | ||
pfadd | ||
pfcount | ||
pmessage | ||
png | ||
pre | ||
psubscribe | ||
pttl | ||
pubsub | ||
punsubscribe | ||
py | ||
pypi | ||
quickstart | ||
readonly | ||
readwrite | ||
redis | ||
redismodules | ||
reimplemented | ||
reinitialization | ||
renamenx | ||
replicaof | ||
repo | ||
rpush | ||
rpushx | ||
runtime | ||
sadd | ||
scard | ||
scoreMembers | ||
sdiffstore | ||
sedrik | ||
setbit | ||
setnx | ||
setrange | ||
sinterstore | ||
sismember | ||
slowlogLen | ||
smove | ||
sortingParameters | ||
srcKey | ||
srcKeys | ||
srckey | ||
ssl | ||
storeParam | ||
str | ||
strlen | ||
stunnel | ||
subcommands | ||
sunionstore | ||
thevalueofmykey | ||
timeseries | ||
toctree | ||
topk | ||
tox | ||
triaging | ||
ttl | ||
txt | ||
un | ||
unblockType | ||
unicode | ||
unixTime | ||
unlink | ||
untyped | ||
url | ||
virtualenv | ||
waitReplicas | ||
whenver | ||
www | ||
xack | ||
xdel | ||
xgroupDelConsumer | ||
xgroupDestroy | ||
xlen | ||
xtrim | ||
zadd | ||
zcard | ||
zcount | ||
zdiffStore | ||
zincrby | ||
zinterstore | ||
zlexcount | ||
zpopmax | ||
zpopmin | ||
zrandmember | ||
zrandmemberWithScores | ||
zrange | ||
zrangeByLex | ||
zrangeByScore | ||
zrangeByScoreWithScores | ||
zrangeWithScores | ||
zrem | ||
zremrangeByLex | ||
zremrangeByRank | ||
zremrangeByScore | ||
zrevrange | ||
zrevrangeByLex | ||
zrevrangeByScore | ||
zrevrangeByScoreWithScores | ||
zrevrangeWithScores | ||
zunionstore |
Oops, something went wrong.