Searched refs:loginProcess (Results 1 - 10 of 10) sorted by relevance

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java134 LoginProcess loginProcess = null;
165 loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
167 return processAuthentication(request, response, postBody, authId, loginProcess, loginConfiguration);
170 if (loginProcess != null) {
171 String failureUrl = urlValidator.getRedirectUrl(loginProcess.getAuthContext().getOrgDN(),
172 loginProcess.getFailureURL(), null);
224 * @param loginProcess The LoginProcess used to track the login.
232 LoginProcess loginProcess, LoginConfiguration loginConfiguration)
235 switch (loginProcess.getLoginStage()) {
238 Callback[] callbacks = loginProcess
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...]
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticator.java93 LoginProcess loginProcess = new LoginProcess(this, loginConfiguration, authContext, coreServicesWrapper);
95 startLoginProcess(loginProcess);
98 return loginProcess;
129 * @param loginProcess The Login Process object that will maintain the login process state for the request.
133 LoginProcess startLoginProcess(LoginProcess loginProcess) throws AuthLoginException { argument
135 LoginConfiguration loginConfiguration = loginProcess.getLoginConfiguration();
139 AuthenticationContext authContext = loginProcess.getAuthContext();
164 return loginProcess;
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandlerTest.java97 LoginProcess loginProcess = mock(LoginProcess.class);
98 given(loginProcess.getSSOToken()).willReturn(ssoToken);
99 given(loginProcess.getLoginStage()).willReturn(LoginStage.COMPLETE);
100 given(loginProcess.isSuccessful()).willReturn(true);
101 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
103 given(loginAuthenticator.getLoginProcess(Matchers.<LoginConfiguration>anyObject())).willReturn(loginProcess);
139 LoginProcess loginProcess = mock(LoginProcess.class);
140 given(loginProcess.getLoginStage()).willReturn(LoginStage.COMPLETE);
141 given(loginProcess.isSuccessful()).willReturn(false);
142 given(loginProcess
[all...]
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticatorTest.java86 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
92 assertNotNull(loginProcess);
118 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
124 assertNotNull(loginProcess);
152 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
158 assertNotNull(loginProcess);
184 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
188 assertNotNull(loginProcess);
225 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
228 assertThat(loginProcess
[all...]
H A DLoginProcessTest.java39 private LoginProcess loginProcess; field in class:LoginProcessTest
54 loginProcess = new LoginProcess(loginAuthenticator, loginConfiguration, authContext, coreServicesWrapper);
70 LoginStage loginStage = loginProcess.getLoginStage();
86 LoginStage loginStage = loginProcess.getLoginStage();
102 LoginStage loginStage = loginProcess.getLoginStage();
118 LoginStage loginStage = loginProcess.getLoginStage();
134 LoginStage loginStage = loginProcess.getLoginStage();
149 LoginStage loginStage = loginProcess.getLoginStage();
162 loginProcess.getCallbacks();
180 PagePropertiesCallback pagePropertiesCallback = loginProcess
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java140 LoginProcess loginProcess = null;
171 loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
173 return processAuthentication(request, response, postBody, authId, loginProcess, loginConfiguration);
176 if (loginProcess != null) {
177 String failureUrl = urlValidator.getRedirectUrl(loginProcess.getAuthContext().getOrgDN(),
178 loginProcess.getFailureURL(), null);
230 * @param loginProcess The LoginProcess used to track the login.
238 LoginProcess loginProcess, LoginConfiguration loginConfiguration)
241 switch (loginProcess.getLoginStage()) {
244 Callback[] callbacks = loginProcess
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...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticator.java89 LoginProcess loginProcess = new LoginProcess(this, loginConfiguration, authContext, coreServicesWrapper);
91 startLoginProcess(loginProcess);
94 return loginProcess;
125 * @param loginProcess The Login Process object that will maintain the login process state for the request.
129 LoginProcess startLoginProcess(LoginProcess loginProcess) throws AuthLoginException { argument
131 LoginConfiguration loginConfiguration = loginProcess.getLoginConfiguration();
135 AuthenticationContext authContext = loginProcess.getAuthContext();
160 return loginProcess;
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandlerTest.java101 LoginProcess loginProcess = mock(LoginProcess.class);
102 given(loginProcess.getSSOToken()).willReturn(ssoToken);
103 given(loginProcess.getLoginStage()).willReturn(LoginStage.COMPLETE);
104 given(loginProcess.isSuccessful()).willReturn(true);
105 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
107 given(loginAuthenticator.getLoginProcess(Matchers.<LoginConfiguration>anyObject())).willReturn(loginProcess);
142 LoginProcess loginProcess = mock(LoginProcess.class);
143 given(loginProcess.getLoginStage()).willReturn(LoginStage.COMPLETE);
144 given(loginProcess.isSuccessful()).willReturn(false);
145 given(loginProcess
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticatorTest.java82 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
88 assertNotNull(loginProcess);
114 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
120 assertNotNull(loginProcess);
148 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
154 assertNotNull(loginProcess);
179 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
183 assertNotNull(loginProcess);
220 LoginProcess loginProcess = loginAuthenticator.getLoginProcess(loginConfiguration);
223 assertThat(loginProcess
[all...]
H A DLoginProcessTest.java39 private LoginProcess loginProcess; field in class:LoginProcessTest
54 loginProcess = new LoginProcess(loginAuthenticator, loginConfiguration, authContext, coreServicesWrapper);
70 LoginStage loginStage = loginProcess.getLoginStage();
86 LoginStage loginStage = loginProcess.getLoginStage();
102 LoginStage loginStage = loginProcess.getLoginStage();
118 LoginStage loginStage = loginProcess.getLoginStage();
134 LoginStage loginStage = loginProcess.getLoginStage();
149 LoginStage loginStage = loginProcess.getLoginStage();
162 loginProcess.getCallbacks();
180 PagePropertiesCallback pagePropertiesCallback = loginProcess
[all...]

Completed in 101 milliseconds