Guest User

Untitled

a guest
Oct 15th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. public class MyFactory implements AuthenticatorFactory {
  2. @Override
  3. public boolean isConfigurable() {
  4. return true;
  5. }
  6.  
  7. private static final List<ProviderConfigProperty> configProperties = new ArrayList<>();
  8.  
  9. static {
  10. ProviderConfigProperty someCheck = new ProviderConfigProperty(
  11. "some.check.property.name",
  12. "Some Check",
  13. "This does some check. You'll see this in the UI.",
  14. ProviderConfigProperty.BOOLEAN_TYPE,
  15. true);
  16. configProperties.add(someCheck);
  17.  
  18. }
  19.  
  20.  
  21. @Override
  22. public List<ProviderConfigProperty> getConfigProperties() {
  23. return configProperties;
  24. }
  25.  
  26. }
Add Comment
Please, Sign In to add comment