toAuthenticationStrategy method

AuthenticationStrategy toAuthenticationStrategy()

Implementation

AuthenticationStrategy toAuthenticationStrategy() {
  switch (this) {
    case 'SIMPLE':
      return AuthenticationStrategy.simple;
    case 'LDAP':
      return AuthenticationStrategy.ldap;
  }
  throw Exception('$this is not known in enum AuthenticationStrategy');
}