Searched refs:choiceCallback (Results 1 - 14 of 14) sorted by relevance
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/callbackhandlers/ |
H A D | RestAuthChoiceCallbackHandlerTest.java | 68 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 71 boolean updated = restAuthChoiceCallbackHandler.updateCallbackFromRequest(request, response, choiceCallback); 87 ChoiceCallback choiceCallback = restAuthChoiceCallbackHandler.handle(request, response, jsonPostBody, 91 assertEquals(originalChoiceCallback, choiceCallback); 98 ChoiceCallback choiceCallback = new ChoiceCallback("Select choice:", new String[]{"1", "34", "66", "93"}, 0, 102 JsonValue jsonObject = restAuthChoiceCallbackHandler.convertToJson(choiceCallback, 1); 125 ChoiceCallback choiceCallback = new ChoiceCallback("Select choice:", new String[]{"1", "34", "66", "93"}, 0, 127 choiceCallback.setSelectedIndex(1); 130 JsonValue jsonObject = restAuthChoiceCallbackHandler.convertToJson(choiceCallback, 1); 153 ChoiceCallback choiceCallback [all...] |
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/callbackhandlers/ |
H A D | RestAuthChoiceCallbackHandlerTest.java | 66 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 69 boolean updated = restAuthChoiceCallbackHandler.updateCallbackFromRequest(request, response, choiceCallback); 85 ChoiceCallback choiceCallback = restAuthChoiceCallbackHandler.handle(request, response, jsonPostBody, 89 assertEquals(originalChoiceCallback, choiceCallback); 96 ChoiceCallback choiceCallback = new ChoiceCallback("Select choice:", new String[]{"1", "34", "66", "93"}, 0, 100 JsonValue jsonObject = restAuthChoiceCallbackHandler.convertToJson(choiceCallback, 1); 121 ChoiceCallback choiceCallback = new ChoiceCallback("Select choice:", new String[]{"1", "34", "66", "93"}, 0, 123 choiceCallback.setSelectedIndex(1); 126 JsonValue jsonObject = restAuthChoiceCallbackHandler.convertToJson(choiceCallback, 1); 147 ChoiceCallback choiceCallback [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcesserTest.java | 131 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 132 Callback[] callbacks = new Callback[]{choiceCallback}; 135 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{0}); 151 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 152 Callback[] callbacks = new Callback[]{choiceCallback}; 155 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{1});
|
/forgerock/openam/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcesserTest.java | 131 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 132 Callback[] callbacks = new Callback[]{choiceCallback}; 135 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{0}); 151 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 152 Callback[] callbacks = new Callback[]{choiceCallback}; 155 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{1});
|
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcessor.java | 82 ChoiceCallback choiceCallback = (ChoiceCallback) callbacks[0]; 84 if (choiceCallback.getSelectedIndexes()[0] == STORE_PROFILE_CHOICE) {
|
/forgerock/openam/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | PersistModuleProcessor.java | 82 ChoiceCallback choiceCallback = (ChoiceCallback) callbacks[0]; 84 if (choiceCallback.getSelectedIndexes()[0] == STORE_PROFILE_CHOICE) {
|
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | DevicePrintAuthenticationServiceTest.java | 346 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 349 callbacks[0] = choiceCallback; 350 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{1}); 376 ChoiceCallback choiceCallback = mock(ChoiceCallback.class); 379 callbacks[0] = choiceCallback; 380 given(choiceCallback.getSelectedIndexes()).willReturn(new int[]{0});
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | AuthLevel.java | 195 ChoiceCallback choiceCallback = 198 callbacks[0] = choiceCallback;
|
H A D | CompositeAdvices.java | 189 ChoiceCallback choiceCallback = 192 callbacks[0] = choiceCallback;
|
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | DevicePrintAuthenticationService.java | 113 ChoiceCallback choiceCallback = (ChoiceCallback) callbacks[0]; 115 if (choiceCallback.getSelectedIndexes()[0] == 0) {
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | AuthLevel.java | 195 ChoiceCallback choiceCallback = 198 callbacks[0] = choiceCallback;
|
H A D | CompositeAdvices.java | 189 ChoiceCallback choiceCallback = 192 callbacks[0] = choiceCallback;
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/share/ |
H A D | AuthXMLUtils.java | 402 ChoiceCallback choiceCallback = (ChoiceCallback) callbacks[i]; 403 xmlString.append(getChoiceCallbackXML(choiceCallback)); 553 ChoiceCallback choiceCallback = null; 556 choiceCallback = (ChoiceCallback)callback; 560 if (choiceCallback == null) { 588 choiceCallback = new ChoiceCallback(prompt, choices, 603 if (choiceCallback.allowMultipleSelections()) { 604 choiceCallback.setSelectedIndexes(selectedIndexes); 606 choiceCallback.setSelectedIndex(selectedIndexes[0]); 610 return choiceCallback; 1065 getChoiceCallbackXML(ChoiceCallback choiceCallback) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/share/ |
H A D | AuthXMLUtils.java | 402 ChoiceCallback choiceCallback = (ChoiceCallback) callbacks[i]; 403 xmlString.append(getChoiceCallbackXML(choiceCallback)); 553 ChoiceCallback choiceCallback = null; 556 choiceCallback = (ChoiceCallback)callback; 560 if (choiceCallback == null) { 588 choiceCallback = new ChoiceCallback(prompt, choices, 603 if (choiceCallback.allowMultipleSelections()) { 604 choiceCallback.setSelectedIndexes(selectedIndexes); 606 choiceCallback.setSelectedIndex(selectedIndexes[0]); 610 return choiceCallback; 1065 getChoiceCallbackXML(ChoiceCallback choiceCallback) argument [all...] |
Completed in 1814 milliseconds