Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractAuth - Class in org.sdase.commons.server.auth.testing
- AbstractAuth(boolean, String, String, String, String, String) - Constructor for class org.sdase.commons.server.auth.testing.AbstractAuth
- AbstractOpa - Class in org.sdase.commons.server.opa.testing
- AbstractOpa() - Constructor for class org.sdase.commons.server.opa.testing.AbstractOpa
- AbstractOpa.AllowBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.BuildBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.FinalBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.RequestExtraBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.RequestMethodBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.RequestPathBuilder - Interface in org.sdase.commons.server.opa.testing
- AbstractOpa.StubBuilder - Class in org.sdase.commons.server.opa.testing
- addClaim(String, Boolean) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Double) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Integer) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Integer[]) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Long) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Long[]) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, String) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, String[]) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaim(String, Date) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- addClaims(Map<String, Object>) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- afterAll(ExtensionContext) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension
- afterAll(ExtensionContext) - Method in class org.sdase.commons.server.opa.testing.OpaClassExtension
- allow() - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.AllowBuilder
- allow() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- answer(OpaResponse) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.AllowBuilder
- answer(OpaResponse) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- auth() - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension
- AUTH_ENV_KEY - Static variable in class org.sdase.commons.server.auth.testing.AuthClassExtension
- AuthBuilder - Class in org.sdase.commons.server.auth.testing
-
The
AuthBuilder
is used to build JWT authentication in test cases that is accepted by the tested application if the test is initialized with theAuthClassExtension
. - AuthClassExtension - Class in org.sdase.commons.server.auth.testing
- AuthClassExtension.AuthExtensionBuilder - Interface in org.sdase.commons.server.auth.testing
- AuthClassExtension.Builder - Class in org.sdase.commons.server.auth.testing
- AuthClassExtension.DisabledBuilder - Interface in org.sdase.commons.server.auth.testing
- authConfig - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
B
- beforeAll(ExtensionContext) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension
- beforeAll(ExtensionContext) - Method in class org.sdase.commons.server.opa.testing.OpaClassExtension
- build() - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- build() - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
- build() - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.DisabledBuilder
- build(WireMockExtension) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.BuildBuilder
- build(WireMockExtension) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- buildAuthHeader() - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- builder() - Static method in class org.sdase.commons.server.auth.testing.AuthClassExtension
- buildHeaderValue() - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- buildRequestPattern(AbstractOpa.StubBuilder) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa
- buildToken() - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
C
- certificateLocation - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
- createKeyLocation() - Method in class org.sdase.commons.server.auth.testing.AbstractAuth
D
- deny() - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.AllowBuilder
- deny() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- disableAuth - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
E
- emptyResponse() - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.AllowBuilder
- emptyResponse() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
G
- getAnswer() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- getConstraint() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- getHttpMethod() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- getJwt() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- getPaths() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- getUrl() - Method in class org.sdase.commons.server.opa.testing.OpaClassExtension
I
- isAllow() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- isEmptyResponse() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- isErrorResponse() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- isMatchJWT() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- isOnAnyRequest() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- issuer - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
K
- keyId - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
L
- loadPrivateKey(String) - Method in class org.sdase.commons.server.auth.testing.AbstractAuth
M
- mock(AbstractOpa.BuildBuilder) - Method in class org.sdase.commons.server.opa.testing.OpaClassExtension
O
- onAnyRequest() - Static method in class org.sdase.commons.server.opa.testing.AbstractOpa
- onRequest() - Static method in class org.sdase.commons.server.opa.testing.AbstractOpa
-
Create a builder to match a request.
- OpaClassExtension - Class in org.sdase.commons.server.opa.testing
- OpaClassExtension() - Constructor for class org.sdase.commons.server.opa.testing.OpaClassExtension
- org.sdase.commons.server.auth.testing - package org.sdase.commons.server.auth.testing
- org.sdase.commons.server.opa.testing - package org.sdase.commons.server.opa.testing
P
- privateKey - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
- privateKeyLocation - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
R
- reset() - Method in class org.sdase.commons.server.opa.testing.OpaClassExtension
-
Resets all stubs and requests that were made to the mock server.
S
- serverError() - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.AllowBuilder
- serverError() - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- StubBuilder() - Constructor for class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- subject - Variable in class org.sdase.commons.server.auth.testing.AbstractAuth
V
- verify(int, String, String) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa
-
Verify if the policy was called for the method/path
- verify(int, AbstractOpa.AllowBuilder) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa
W
- withConstraint(Object) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.FinalBuilder
- withConstraint(Object) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- withCustomKeyPair(String, String) - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- withCustomKeyPair(String, String) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
- withDisabledAuth() - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- withDisabledAuth() - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
- withHttpMethod(String) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.RequestMethodBuilder
- withHttpMethod(String) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- withIssuer(String) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- withIssuer(String) - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- withIssuer(String) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
- withJwt(String) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.RequestExtraBuilder
- withJwt(String) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- withJwtFromHeaders(MultivaluedMap<String, Object>) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.RequestExtraBuilder
- withJwtFromHeaderValue(String) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.RequestExtraBuilder
- withKeyId(String) - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- withKeyId(String) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
- withPath(String) - Method in interface org.sdase.commons.server.opa.testing.AbstractOpa.RequestPathBuilder
- withPath(String) - Method in class org.sdase.commons.server.opa.testing.AbstractOpa.StubBuilder
- withSubject(String) - Method in class org.sdase.commons.server.auth.testing.AuthBuilder
- withSubject(String) - Method in interface org.sdase.commons.server.auth.testing.AuthClassExtension.AuthExtensionBuilder
- withSubject(String) - Method in class org.sdase.commons.server.auth.testing.AuthClassExtension.Builder
All Classes and Interfaces|All Packages|Constant Field Values