Package org.beangle.security.core.userdetail

Examples of org.beangle.security.core.userdetail.User


      return makeUserDetailsFromAuthoritiesPopulator();
    }
  }

  private UserDetail makeUserDetailsFromAuthoritiesPopulator() {
    return new User("user", "password", GrantedAuthorityBean.build("ROLE_A", "ROLE_B"));
  }
View Full Code Here


          });
    } catch (EntryNotFoundException e) {
      logger.info("cannot found {} in ldap", username);
      throw new AuthenticationException("ldap user " + username + " not found");
    }
    return new User(username, ldapPassword, false, false, false, false, null);
  }
View Full Code Here

TOP

Related Classes of org.beangle.security.core.userdetail.User

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.