Merge pull request #2992 from ssilvert/RHSSO-274

KEYCLOAK-3243: "Undefined" as auth flow execution
This commit is contained in:
Stian Thorgersen 2016-07-04 19:24:30 +02:00 committed by GitHub
commit fe856d3fa7
3 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ public class HttpBasicAuthenticator implements AuthenticatorFactory {
@Override @Override
public String getDisplayType() { public String getDisplayType() {
return null; return "HTTP Basic Authentication";
} }
@Override @Override
@ -68,7 +68,7 @@ public class HttpBasicAuthenticator implements AuthenticatorFactory {
@Override @Override
public String getHelpText() { public String getHelpText() {
return null; return "Validates username and password from Authorization HTTP header";
} }
@Override @Override

View file

@ -200,7 +200,7 @@ public class InitialFlowsTest extends AbstractAuthenticationTest {
addExecExport(flow, null, false, "http-basic-authenticator", false, null, REQUIRED, 10); addExecExport(flow, null, false, "http-basic-authenticator", false, null, REQUIRED, 10);
execs = new LinkedList<>(); execs = new LinkedList<>();
addExecInfo(execs, null, "http-basic-authenticator", false, 0, 0, REQUIRED, null, new String[]{}); addExecInfo(execs, "HTTP Basic Authentication", "http-basic-authenticator", false, 0, 0, REQUIRED, null, new String[]{});
expected.add(new FlowExecutions(flow, execs)); expected.add(new FlowExecutions(flow, execs));
return expected; return expected;

View file

@ -145,7 +145,7 @@ public class ProvidersTest extends AbstractAuthenticationTest {
"Validates the password supplied as a 'password' form parameter in direct grant request"); "Validates the password supplied as a 'password' form parameter in direct grant request");
addProviderInfo(result, "direct-grant-validate-username", "Username Validation", addProviderInfo(result, "direct-grant-validate-username", "Username Validation",
"Validates the username supplied as a 'username' form parameter in direct grant request"); "Validates the username supplied as a 'username' form parameter in direct grant request");
addProviderInfo(result, "http-basic-authenticator", null, null); addProviderInfo(result, "http-basic-authenticator", "HTTP Basic Authentication", "Validates username and password from Authorization HTTP header");
addProviderInfo(result, "idp-confirm-link", "Confirm link existing account", "Show the form where user confirms if he wants " + addProviderInfo(result, "idp-confirm-link", "Confirm link existing account", "Show the form where user confirms if he wants " +
"to link identity provider with existing account or rather edit user profile data retrieved from identity provider to avoid conflict"); "to link identity provider with existing account or rather edit user profile data retrieved from identity provider to avoid conflict");
addProviderInfo(result, "idp-create-user-if-unique", "Create User If Unique", "Detect if there is existing Keycloak account " + addProviderInfo(result, "idp-create-user-if-unique", "Create User If Unique", "Detect if there is existing Keycloak account " +