Package org.beangle.ems.security.service

Examples of org.beangle.ems.security.service.UserDataProvider


  private List<?> getPropertyValues(UserPropertyMeta field) {
    if (null == field.getSource()) return Collections.emptyList();
    String source = field.getSource();
    String prefix = StringUtils.substringBefore(source, ":");
    source = StringUtils.substringAfter(source, ":");
    UserDataProvider provider = providers.get(prefix);
    if (null != provider) {
      return provider.getData(field, source);
    } else {
      throw new RuntimeException("not support data provider:" + prefix);
    }
  }
View Full Code Here

TOP

Related Classes of org.beangle.ems.security.service.UserDataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.