Index
All Classes and Interfaces|All Packages
A
- as(Principal) - Static method in class dev.relism.flash.ext.security.test.TestSecurity
-
Sends the request as
principal.
B
- bearer(String, Map<String, Object>) - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
-
Sends the request with a bearer
FakeOidcProvider.token(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>).
C
- client(String, String...) - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
-
Refuses, from now on, any other secret or redirect URI — as a provider with this client registered would.
- close() - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
- configure(FlashRegistrar<?>, FlashContext) - Method in class dev.relism.flash.ext.security.test.TestSecurity
D
- dev.relism.flash.ext.security.test - package dev.relism.flash.ext.security.test
E
- expiresIn(long) - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
-
Lifetime of the tokens sign-in and refresh issue —
0expires a session at once.
F
- FakeOidcProvider - Class in dev.relism.flash.ext.security.test
-
An OpenID Provider on a random local port: discovery, keys, and a token endpoint for the authorization code and refresh flows.
- FakeOidcProvider() - Constructor for class dev.relism.flash.ext.security.test.FakeOidcProvider
I
- issuer() - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
O
- OidcTokens - Class in dev.relism.flash.ext.security.test
-
Real tokens from a real provider — Keycloak in Testcontainers, typically.
P
- passwordGrant(String, String, String, String, String) - Static method in class dev.relism.flash.ext.security.test.OidcTokens
-
Sends the request with an access token obtained by the resource owner password grant.
S
- signInAs(String, Map<String, Object>) - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
-
Who sign-in and refresh vouch for, with what extra claims; the client id is always
app.
T
- TestSecurity - Class in dev.relism.flash.ext.security.test
-
Authenticates test requests as any
Principal, whatever mechanisms the application installs — an OIDC user, an API key, a plain name — without an identity provider. - TestSecurity() - Constructor for class dev.relism.flash.ext.security.test.TestSecurity
- token(String, Map<String, Object>) - Method in class dev.relism.flash.ext.security.test.FakeOidcProvider
-
A signed token for
subject, valid five minutes, withclaimsadded.
All Classes and Interfaces|All Packages