import static java.lang.String.valueOf;
import static org.sonar.api.PropertyType.BOOLEAN;
+import static org.sonar.api.PropertyType.PASSWORD;
import static org.sonar.api.PropertyType.STRING;
public class GitHubSettings {
.description("Client password provided by GitHub when registering the application.")
.category(CATEGORY)
.subCategory(SUBCATEGORY)
+ .type(PASSWORD)
.index(3)
.build(),
PropertyDefinition.builder(ALLOW_USERS_TO_SIGN_UP)
import static java.lang.String.valueOf;
import static org.sonar.api.PropertyType.BOOLEAN;
+import static org.sonar.api.PropertyType.PASSWORD;
public class GitLabSettings {
.description("Secret provided by GitLab when registering the application.")
.category(CATEGORY)
.subCategory(SUBCATEGORY)
+ .type(PASSWORD)
.index(4)
.build(),
PropertyDefinition.builder(GITLAB_AUTH_ALLOW_USERS_TO_SIGNUP)
import static java.lang.String.valueOf;
import static org.sonar.api.PropertyType.BOOLEAN;
+import static org.sonar.api.PropertyType.PASSWORD;
@ServerSide
public class SamlSettings {
.description("X.509 certificate for the identity provider.")
.category(CATEGORY)
.subCategory(SUBCATEGORY)
+ .type(PASSWORD)
.index(6)
.build(),
PropertyDefinition.builder(USER_LOGIN_ATTRIBUTE)