Searched defs:authIdHelper (Results 1 - 8 of 8) sorted by relevance

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DAuthenticationAccessAuditFilter.java60 private final AuthIdHelper authIdHelper; field in class:AuthenticationAccessAuditFilter
65 * @param authIdHelper The helper to use for reading authentication JWTs.
70 public AuthenticationAccessAuditFilter(AuthIdHelper authIdHelper, argument
73 this.authIdHelper = authIdHelper;
146 String sessionId = authIdHelper.reconstructAuthId(authId).getClaimsSet().getClaim(SESSION_ID, String.class);
H A DRestAuthenticationHandler.java62 private final AuthIdHelper authIdHelper; field in class:RestAuthenticationHandler
72 * @param authIdHelper An instance of the AuthIdHelper.
77 AMAuthErrorCodeResponseStatusMapping amAuthErrorCodeResponseStatusMapping, AuthIdHelper authIdHelper) {
81 this.authIdHelper = authIdHelper;
146 SignedJwt jwt = authIdHelper.reconstructAuthId(authId);
152 authIdHelper.verifyAuthId(realmDN, authId);
250 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
333 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
75 RestAuthenticationHandler(LoginAuthenticator loginAuthenticator, RestAuthCallbackHandlerManager restAuthCallbackHandlerManager, AMAuthErrorCodeResponseStatusMapping amAuthErrorCodeResponseStatusMapping, AuthIdHelper authIdHelper) argument
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelperTest.java64 private AuthIdHelper authIdHelper; field in class:AuthIdHelperTest
80 authIdHelper = new AuthIdHelper(coreServicesWrapper, jwtBuilderFactory, signingManager);
134 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
167 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
204 authIdHelper.createAuthId(loginConfiguration, authContext);
228 authIdHelper.createAuthId(loginConfiguration, authContext);
254 authIdHelper.createAuthId(loginConfiguration, authContext);
272 authIdHelper.reconstructAuthId("AUTH_ID");
288 authIdHelper.reconstructAuthId("AUTH_ID");
313 authIdHelper
[all...]
H A DRestAuthenticationHandlerTest.java64 private AuthIdHelper authIdHelper; field in class:RestAuthenticationHandlerTest
72 authIdHelper = mock(AuthIdHelper.class);
75 amAuthErrorCodeResponseStatusMapping, authIdHelper);
202 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
258 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
310 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
393 given(authIdHelper.reconstructAuthId("AUTH_ID")).willReturn(signedJwt);
404 verify(authIdHelper).verifyAuthId("REALM_DN", "AUTH_ID");
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DAuthenticationAccessAuditFilter.java60 private final AuthIdHelper authIdHelper; field in class:AuthenticationAccessAuditFilter
65 * @param authIdHelper The helper to use for reading authentication JWTs.
70 public AuthenticationAccessAuditFilter(AuthIdHelper authIdHelper, argument
73 this.authIdHelper = authIdHelper;
146 String sessionId = authIdHelper.reconstructAuthId(authId).getClaimsSet().getClaim(SESSION_ID, String.class);
H A DRestAuthenticationHandler.java64 private final AuthIdHelper authIdHelper; field in class:RestAuthenticationHandler
75 * @param authIdHelper An instance of the AuthIdHelper.
81 AMAuthErrorCodeResponseStatusMapping amAuthErrorCodeResponseStatusMapping, AuthIdHelper authIdHelper,
86 this.authIdHelper = authIdHelper;
152 SignedJwt jwt = authIdHelper.reconstructAuthId(authId);
158 authIdHelper.verifyAuthId(realmDN, authId);
256 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
340 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
79 RestAuthenticationHandler(LoginAuthenticator loginAuthenticator, RestAuthCallbackHandlerManager restAuthCallbackHandlerManager, AMAuthErrorCodeResponseStatusMapping amAuthErrorCodeResponseStatusMapping, AuthIdHelper authIdHelper, CoreWrapper coreWrapper) argument
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelperTest.java64 private AuthIdHelper authIdHelper; field in class:AuthIdHelperTest
80 authIdHelper = new AuthIdHelper(coreServicesWrapper, jwtBuilderFactory, signingManager);
134 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
167 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
204 authIdHelper.createAuthId(loginConfiguration, authContext);
228 authIdHelper.createAuthId(loginConfiguration, authContext);
254 authIdHelper.createAuthId(loginConfiguration, authContext);
272 authIdHelper.reconstructAuthId("AUTH_ID");
288 authIdHelper.reconstructAuthId("AUTH_ID");
313 authIdHelper
[all...]
H A DRestAuthenticationHandlerTest.java66 private AuthIdHelper authIdHelper; field in class:RestAuthenticationHandlerTest
75 authIdHelper = mock(AuthIdHelper.class);
79 amAuthErrorCodeResponseStatusMapping, authIdHelper, coreWrapper);
205 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
261 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
312 given(authIdHelper.createAuthId(Matchers.<LoginConfiguration>anyObject(), eq(authContextLocalWrapper)))
395 given(authIdHelper.reconstructAuthId("AUTH_ID")).willReturn(signedJwt);
405 verify(authIdHelper).verifyAuthId("REALM_DN", "AUTH_ID");

Completed in 63 milliseconds