toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthenticationStrategy.simple:
      return 'SIMPLE';
    case AuthenticationStrategy.ldap:
      return 'LDAP';
  }
}