Searched refs:authId (Results 1 - 14 of 14) sorted by relevance

/forgerock/openidm-v4/custom-scripted-connector-bundler/src/main/resources/
H A DAuthenticateScript.groovy.template53 def authId = null;
56 required then allow authId to pass through by default. This script is required. */
57 authId = 1;
59 if (authId == null) {
66 return authId
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/sample3/tools/
H A DAuthenticateScript.groovy58 def authId = null;
80 authId = String.valueOf(it.id)
84 if (authId == null) {
88 return authId
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java139 String authId = null;
143 authId = getAuthId(postBody);
145 if (authId != null) {
146 SignedJwt jwt = authIdHelper.reconstructAuthId(authId);
152 authIdHelper.verifyAuthId(realmDN, authId);
167 return processAuthentication(request, response, postBody, authId, loginProcess, loginConfiguration);
212 return postBody.get("authId").asString();
231 HttpServletResponse response, JsonValue postBody, String authId,
248 // Include the authId in the JSON response.
249 if (authId
230 processAuthentication(HttpServletRequest request, HttpServletResponse response, JsonValue postBody, String authId, LoginProcess loginProcess, LoginConfiguration loginConfiguration) argument
325 createJsonCallbackResponse(String authId, LoginConfiguration loginConfiguration, LoginProcess loginProcess, JsonValue jsonCallbacks) argument
[all...]
H A DAuthenticationAccessAuditFilter.java112 String authId = AuditRequestContext.getProperty(AUTH_ID);
119 } else if (isNotEmpty(authId)) {
120 populateContextFromAuthId(authId);
144 private void populateContextFromAuthId(String authId) { argument
146 String sessionId = authIdHelper.reconstructAuthId(authId).getClaimsSet().getClaim(SESSION_ID, String.class);
H A DAuthIdHelper.java168 * @param authId The Auth Id jwt string
171 public SignedJwt reconstructAuthId(String authId) throws RestAuthException { argument
173 return jwtBuilderFactory.reconstruct(authId, SignedJwt.class);
184 * @param authId The authentication id JWT.
186 public void verifyAuthId(String realmDN, String authId) throws RestAuthException { argument
192 boolean verified = jwtBuilderFactory.reconstruct(authId, SignedJwt.class).verify(signingHandler);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java145 String authId = null;
149 authId = getAuthId(postBody);
151 if (authId != null) {
152 SignedJwt jwt = authIdHelper.reconstructAuthId(authId);
158 authIdHelper.verifyAuthId(realmDN, authId);
173 return processAuthentication(request, response, postBody, authId, loginProcess, loginConfiguration);
218 return postBody.get("authId").asString();
237 HttpServletResponse response, JsonValue postBody, String authId,
254 // Include the authId in the JSON response.
255 if (authId
236 processAuthentication(HttpServletRequest request, HttpServletResponse response, JsonValue postBody, String authId, LoginProcess loginProcess, LoginConfiguration loginConfiguration) argument
332 createJsonCallbackResponse(String authId, LoginConfiguration loginConfiguration, LoginProcess loginProcess, JsonValue jsonCallbacks) argument
[all...]
H A DAuthenticationAccessAuditFilter.java112 String authId = AuditRequestContext.getProperty(AUTH_ID);
119 } else if (isNotEmpty(authId)) {
120 populateContextFromAuthId(authId);
144 private void populateContextFromAuthId(String authId) { argument
146 String sessionId = authIdHelper.reconstructAuthId(authId).getClaimsSet().getClaim(SESSION_ID, String.class);
H A DAuthIdHelper.java168 * @param authId The Auth Id jwt string
171 public SignedJwt reconstructAuthId(String authId) throws RestAuthException { argument
173 return jwtBuilderFactory.reconstruct(authId, SignedJwt.class);
184 * @param authId The authentication id JWT.
186 public void verifyAuthId(String realmDN, String authId) throws RestAuthException { argument
192 boolean verified = jwtBuilderFactory.reconstruct(authId, SignedJwt.class).verify(signingHandler);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/audit/
H A DAuthenticationModuleEventAuditor.java74 String authId = getUserId(principalName, realm);
75 auditModuleEvent(loginState, realm, principalName, authId, SUCCESSFUL, auditEntryDetail);
94 String authId = getUserId(principalName, realm);
96 if ((isEmpty(principalName) || isEmpty(authId)) && sharedState.containsKey(SHARED_STATE_USERNAME)) {
98 authId = getUserId(principalName, realm);
101 auditModuleEvent(loginState, realm, principalName, authId, FAILED, auditEntryDetail);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/audit/
H A DAuthenticationModuleEventAuditor.java74 String authId = getUserId(principalName, realm);
75 auditModuleEvent(loginState, realm, principalName, authId, SUCCESSFUL, auditEntryDetail);
93 String authId = getUserId(principalName, realm);
95 auditModuleEvent(loginState, realm, principalName, authId, FAILED, auditEntryDetail);
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/delegates/
H A DAuthNDelegate.js76 // if the error body contains an authId, then we might be able to
78 if (errorBody.hasOwnProperty("authId")) {
105 if (requirements.hasOwnProperty("authId")) {
109 if (!CookieHelper.getCookie("authId") && _.find(requirements.callbacks, callbackTracking)) {
111 "authId",
112 requirements.authId, "", "/",
170 if (requirements.hasOwnProperty("authId")) {
176 oldReqs.authId = requirements.authId;
205 // if the error body has an authId propert
[all...]
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/services/
H A DAuthNService.js89 // if the error body contains an authId, then we might be able to
91 if (errorBody.hasOwnProperty("authId")) {
118 if (requirements.hasOwnProperty("authId")) {
122 AuthenticationToken.set(requirements.authId);
174 if (requirements.hasOwnProperty("authId")) {
180 oldReqs.authId = requirements.authId;
204 // if the error body has an authId property, then we may be
206 if (errorBody.hasOwnProperty("authId")) {
237 return obj.submitRequirements(_.extend({ authId
[all...]
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelperTest.java134 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
137 assertNotNull(authId);
167 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
170 assertNotNull(authId);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelperTest.java134 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
137 assertNotNull(authId);
167 String authId = authIdHelper.createAuthId(loginConfiguration, authContext);
170 assertNotNull(authId);

Completed in 86 milliseconds