Examples of IUmiUserManager


Examples of org.jresearch.flexess.umi.api.IUmiUserManager

    final IPropertyGroup group = settings.getPropertyGroups().get(GROUP_NAME);
    if (group == null) {
      throw new UmiException("Can''t find property {0} in group {1}.", PROPERTY, GROUP_NAME); //$NON-NLS-1$
    }
    final String beanId = group.getPropertyValue(PROPERTY);
    final IUmiUserManager manager = singleUserManagers.get(beanId);
    if (manager == null) {
      throw new UmiException("User manager with id {0} doesn''t exists. Check the Spring beans definitions if bean with such id exists", beanId); //$NON-NLS-1$
    }
    return manager;
  }
View Full Code Here

Examples of org.jresearch.flexess.umi.api.IUmiUserManager

    }
  }

  private IUmiUserManager getUserManager(final String applicationId) throws AuthenticationException {
    final String userManagementId = getUserManagerId();
    final IUmiUserManager userManager = userManagement.getUserManager(userManagementId);
    if (userManager == null) {
      throw new AuthenticationException(MessageFormat.format("User management is not found for application {0}", applicationId)); //$NON-NLS-1$
    }
    return userManager;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.