Skip to content

Commit 806cdad

Browse files
authored
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
1 parent c0f1509 commit 806cdad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3839
-121
lines changed

.github/ISSUE_TEMPLATE

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!--
2+
Github issues should be used to report bugs and for detailed feature requests.
3+
Everything else belongs in the [Redis EntraID Google Group](https://groups.google.com/g/entraid_redis)
4+
or [Redis EntraID Github Discussions](https://github.com/redis/entraid/discussions).
5+
6+
Please post general questions to Google Groups or Github discussions.
7+
These can be closed without response when posted to Github issues.
8+
-->
9+
10+
### Expected behavior
11+
12+
Write here what you're expecting ...
13+
14+
### Actual behavior
15+
16+
Write here what happens instead ...
17+
18+
### Steps to reproduce:
19+
20+
Please create a reproducible case of your problem. Make sure
21+
that case repeats consistently and it's not random
22+
1.
23+
2.
24+
3.
25+
26+
### Redis / EntraID Configuration
27+
28+
#### ClientLibrary and version:
29+
30+
#### Redis version:
31+
32+
#### Java version:

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "maven"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.github/spellcheck-settings.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
matrix:
2+
- name: Markdown
3+
expect_match: false
4+
apsell:
5+
lang: en
6+
d: en_US
7+
ignore-case: true
8+
dictionary:
9+
wordlists:
10+
- .github/wordlist.txt
11+
output: wordlist.dic
12+
pipeline:
13+
- pyspelling.filters.markdown:
14+
markdown_extensions:
15+
- markdown.extensions.extra:
16+
- pyspelling.filters.html:
17+
comments: false
18+
attributes:
19+
- alt
20+
ignores:
21+
- ':matches(code, pre)'
22+
- code
23+
- pre
24+
- blockquote
25+
- img
26+
sources:
27+
- '*.md'
28+
- 'docs/**'

.github/wordlist.txt

+306
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
!!!Spelling check failed!!!
2+
APM
3+
ARGV
4+
BFCommands
5+
BitOP
6+
BitPosParams
7+
BuilderFactory
8+
CFCommands
9+
CMSCommands
10+
CallNotPermittedException
11+
CircuitBreaker
12+
ClientKillParams
13+
ClusterNode
14+
ClusterNodes
15+
ClusterPipeline
16+
ClusterPubSub
17+
ConnectionPool
18+
CoreCommands
19+
EVAL
20+
EVALSHA
21+
Failback
22+
Failover
23+
FTCreateParams
24+
FTSearchParams
25+
GSON
26+
GenericObjectPool
27+
GenericObjectPoolConfig
28+
GeoAddParams
29+
GeoRadiusParam
30+
GeoRadiusStoreParam
31+
GeoUnit
32+
GraphCommands
33+
Grokzen's
34+
HostAndPort
35+
HostnameVerifier
36+
INCR
37+
IOError
38+
Instrumentations
39+
JDK
40+
JSONArray
41+
JSONCommands
42+
Jaeger
43+
Javadocs
44+
ListPosition
45+
Ludovico
46+
Magnocavallo
47+
McCurdy
48+
NOSCRIPT
49+
NUMPAT
50+
NUMPT
51+
NUMSUB
52+
OSS
53+
OpenCensus
54+
OpenTelemetry
55+
OpenTracing
56+
Otel
57+
POJO
58+
POJOs
59+
PubSub
60+
Queable
61+
READONLY
62+
RediSearch
63+
RediSearchCommands
64+
RedisBloom
65+
RedisCluster
66+
RedisClusterCommands
67+
RedisClusterException
68+
RedisClusters
69+
RedisGraph
70+
RedisInstrumentor
71+
RedisJSON
72+
RedisTimeSeries
73+
SHA
74+
SSLParameters
75+
SSLSocketFactory
76+
SearchCommands
77+
SentinelCommands
78+
SentinelConnectionPool
79+
ShardInfo
80+
Sharded
81+
Solovyov
82+
SortingParams
83+
SpanKind
84+
Specfiying
85+
StatusCode
86+
StreamEntryID
87+
TCP
88+
TOPKCommands
89+
Throwable
90+
TimeSeriesCommands
91+
URI
92+
UnblockType
93+
Uptrace
94+
ValueError
95+
WATCHed
96+
WatchError
97+
XTrimParams
98+
ZAddParams
99+
ZParams
100+
aclDelUser
101+
api
102+
approximateLength
103+
arg
104+
args
105+
async
106+
asyncio
107+
autoclass
108+
automodule
109+
backoff
110+
bdb
111+
behaviour
112+
bitcount
113+
bitop
114+
bitpos
115+
bool
116+
boolean
117+
booleans
118+
bysource
119+
charset
120+
clientId
121+
clientKill
122+
clientUnblock
123+
clusterCountKeysInSlot
124+
clusterKeySlot
125+
configs
126+
consumerName
127+
consumername
128+
cumbersome
129+
dbIndex
130+
dbSize
131+
decr
132+
decrBy
133+
del
134+
destKey
135+
dev
136+
dstKey
137+
dstkey
138+
eg
139+
exc
140+
expireAt
141+
failback
142+
failover
143+
faoliver
144+
firstName
145+
firsttimersonly
146+
fo
147+
genindex
148+
geoadd
149+
georadiusByMemberStore
150+
georadiusStore
151+
getbit
152+
gmail
153+
groupname
154+
hdel
155+
hexists
156+
hincrBy
157+
hincrByFloat
158+
hiredis
159+
hlen
160+
hset
161+
hsetnx
162+
hstrlen
163+
http
164+
idx
165+
iff
166+
incr
167+
incrBy
168+
incrByFloat
169+
ini
170+
json
171+
keyslot
172+
keyspace
173+
keysvalues
174+
kwarg
175+
lastName
176+
lastsave
177+
linsert
178+
linters
179+
llen
180+
localhost
181+
lpush
182+
lpushx
183+
lrem
184+
lua
185+
makeapullrequest
186+
maxLen
187+
maxdepth
188+
maya
189+
memberCoordinateMap
190+
mget
191+
microservice
192+
microservices
193+
millisecondsTimestamp
194+
mset
195+
msetnx
196+
multikey
197+
mykey
198+
newkey
199+
nonatomic
200+
observability
201+
oldkey
202+
opentelemetry
203+
oss
204+
param
205+
params
206+
performant
207+
pexpire
208+
pexpireAt
209+
pfadd
210+
pfcount
211+
pmessage
212+
png
213+
pre
214+
psubscribe
215+
pttl
216+
pubsub
217+
punsubscribe
218+
py
219+
pypi
220+
quickstart
221+
readonly
222+
readwrite
223+
redis
224+
redismodules
225+
reimplemented
226+
reinitialization
227+
renamenx
228+
replicaof
229+
repo
230+
rpush
231+
rpushx
232+
runtime
233+
sadd
234+
scard
235+
scoreMembers
236+
sdiffstore
237+
sedrik
238+
setbit
239+
setnx
240+
setrange
241+
sinterstore
242+
sismember
243+
slowlogLen
244+
smove
245+
sortingParameters
246+
srcKey
247+
srcKeys
248+
srckey
249+
ssl
250+
storeParam
251+
str
252+
strlen
253+
stunnel
254+
subcommands
255+
sunionstore
256+
thevalueofmykey
257+
timeseries
258+
toctree
259+
topk
260+
tox
261+
triaging
262+
ttl
263+
txt
264+
un
265+
unblockType
266+
unicode
267+
unixTime
268+
unlink
269+
untyped
270+
url
271+
virtualenv
272+
waitReplicas
273+
whenver
274+
www
275+
xack
276+
xdel
277+
xgroupDelConsumer
278+
xgroupDestroy
279+
xlen
280+
xtrim
281+
zadd
282+
zcard
283+
zcount
284+
zdiffStore
285+
zincrby
286+
zinterstore
287+
zlexcount
288+
zpopmax
289+
zpopmin
290+
zrandmember
291+
zrandmemberWithScores
292+
zrange
293+
zrangeByLex
294+
zrangeByScore
295+
zrangeByScoreWithScores
296+
zrangeWithScores
297+
zrem
298+
zremrangeByLex
299+
zremrangeByRank
300+
zremrangeByScore
301+
zrevrange
302+
zrevrangeByLex
303+
zrevrangeByScore
304+
zrevrangeByScoreWithScores
305+
zrevrangeWithScores
306+
zunionstore

0 commit comments

Comments
 (0)