org.onebusaway.users.impl
Class IndexedUserDetailsImpl

java.lang.Object
  extended by org.springframework.security.userdetails.User
      extended by org.onebusaway.users.impl.IndexedUserDetailsImpl
All Implemented Interfaces:
Serializable, IndexedUserDetails, org.springframework.security.userdetails.UserDetails

public class IndexedUserDetailsImpl
extends org.springframework.security.userdetails.User
implements IndexedUserDetails

See Also:
Serialized Form

Constructor Summary
IndexedUserDetailsImpl(StandardAuthoritiesService authoritiesService, UserIndex userIndex)
           
 
Method Summary
 boolean equals(Object obj)
           
 UserIndexKey getUserIndexKey()
           
 int hashCode()
           
 boolean isAdmin()
           
 boolean isAnonymous()
           
 
Methods inherited from class org.springframework.security.userdetails.User
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, setAuthorities, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.security.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Constructor Detail

IndexedUserDetailsImpl

public IndexedUserDetailsImpl(StandardAuthoritiesService authoritiesService,
                              UserIndex userIndex)
Method Detail

getUserIndexKey

public UserIndexKey getUserIndexKey()
Specified by:
getUserIndexKey in interface IndexedUserDetails

isAnonymous

public boolean isAnonymous()
Specified by:
isAnonymous in interface IndexedUserDetails

isAdmin

public boolean isAdmin()
Specified by:
isAdmin in interface IndexedUserDetails

hashCode

public int hashCode()
Overrides:
hashCode in class org.springframework.security.userdetails.User

equals

public boolean equals(Object obj)
Overrides:
equals in class org.springframework.security.userdetails.User


Copyright © 2012 OneBusAway. All Rights Reserved.