parent
83c00731c3
commit
75973157aa
3 changed files with 3 additions and 3 deletions
|
@ -248,7 +248,7 @@ public class UPConfigUtils {
|
||||||
*
|
*
|
||||||
* @param roles to validate
|
* @param roles to validate
|
||||||
* @param fieldName we are validating for use in error messages
|
* @param fieldName we are validating for use in error messages
|
||||||
* @param errors to ass error message into
|
* @param errors to pass error message into
|
||||||
* @param attributeName we are validating for use in error messages
|
* @param attributeName we are validating for use in error messages
|
||||||
*/
|
*/
|
||||||
private static void validateRoles(Set<String> roles, String fieldName, List<String> errors, String attributeName) {
|
private static void validateRoles(Set<String> roles, String fieldName, List<String> errors, String attributeName) {
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.keycloak.models.KeycloakSession;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This has same providerID like built-in ValidateUsername provider. But it should be called in favour of ValidateUsername even
|
* This has same providerID like built-in ValidateUsername provider. But it should be called in favour of ValidateUsername even
|
||||||
* if it doesn't have "order" set. Ass it is custom provider and it worked this way in previous versions
|
* if it doesn't have "order" set. As it is custom provider and it worked this way in previous versions
|
||||||
*/
|
*/
|
||||||
public class CustomLoginFormsProviderFactory extends FreeMarkerLoginFormsProviderFactory {
|
public class CustomLoginFormsProviderFactory extends FreeMarkerLoginFormsProviderFactory {
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.keycloak.authentication.authenticators.directgrant.ValidateUsername;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This has same providerID like built-in ValidateUsername provider. But it should be called in favour of ValidateUsername even
|
* This has same providerID like built-in ValidateUsername provider. But it should be called in favour of ValidateUsername even
|
||||||
* if it doesn't have "order" set. Ass it is custom provider and it worked this way in previous versions
|
* if it doesn't have "order" set. As it is custom provider and it worked this way in previous versions
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class CustomValidateUsername extends ValidateUsername {
|
public class CustomValidateUsername extends ValidateUsername {
|
||||||
|
|
Loading…
Reference in a new issue