Examples of FlxUserDetails


Examples of org.fluxtream.core.auth.FlxUserDetails

  @SuppressWarnings("serial")
  public static void asGuest(String username) {
    Guest guest = new Guest();
    guest.username = username;
    final FlxUserDetails loggedUser = new FlxUserDetails(guest);
//    loggedUser.setDaylightSaving(false);
//    loggedUser.setTzOffset(1.0f);
    Authentication authToken = new Authentication() {
      public Collection<GrantedAuthority> getAuthorities() {return null;}
      public Object getCredentials() {return null;}
View Full Code Here

Examples of org.fluxtream.core.auth.FlxUserDetails

      throws UsernameNotFoundException {
    final Guest guest = JPAUtils.findUnique(em, Guest.class,
        "guest.byUsername", username);
    if (guest == null)
      return null;
        return new FlxUserDetails(guest);
  }
View Full Code Here

Examples of org.fluxtream.core.auth.FlxUserDetails

      throws UsernameNotFoundException {
    final Guest guest = JPAUtils.findUnique(em, Guest.class,
        "guest.byEmail", email);
    if (guest == null)
      return null;
        return new FlxUserDetails(guest);
  }
View Full Code Here

Examples of org.fluxtream.core.auth.FlxUserDetails

        }

        @Override
        public Object getPrincipal() {
          Guest guest = new Guest();
          return new FlxUserDetails(guest);
        }

        @Override
        public Object getDetails() {
          return null;
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.