@Test public void testUserDetails() { UserDetails details = new PortalPersonUserDetails(person); assertEquals("testuser", details.getUsername()); }
@Override public String getUsername() { return person.getName(); }
PortalPersonUserDetails implements UserDetails { @Override public String getUsername() { return person.getName(); } }
PortalPersonUserDetails implements UserDetails { @Override public String getUsername() { return person.getName(); } PortalPersonUserDetails(IPerson person); }
PortalPersonUserDetails implements UserDetails { @Override public String getUsername() { return person.getName(); } PortalPersonUserDetails(IPerson person); @Override Collection<GrantedAuthority> getAuthorities(); @Override String getPassword(); @Override String getUsername(); @Override boolean isAccountNonExpired(); @Override boolean isAccountNonLocked(); @Override boolean isCredentialsNonExpired(); @Override boolean isEnabled(); @Override String toString(); }
PortalPersonUserDetails implements UserDetails { @Override public String getUsername() { return person.getName(); } PortalPersonUserDetails(IPerson person); @Override Collection<GrantedAuthority> getAuthorities(); @Override String getPassword(); @Override String getUsername(); @Override boolean isAccountNonExpired(); @Override boolean isAccountNonLocked(); @Override boolean isCredentialsNonExpired(); @Override boolean isEnabled(); @Override String toString();  }