org.duracloud.security.domain
Class SecurityUserBean
java.lang.Object
org.duracloud.security.domain.SecurityUserBean
public class SecurityUserBean
- extends Object
- Author:
- Andrew Woods
Date: Mar 28, 2010
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEMA_VERSION
public static final String SCHEMA_VERSION
- See Also:
- Constant Field Values
SecurityUserBean
public SecurityUserBean()
SecurityUserBean
public SecurityUserBean(String username,
String password,
List<String> grantedAuthorities)
SecurityUserBean
public SecurityUserBean(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
List<String> grantedAuthorities)
getUsername
public String getUsername()
getPassword
public String getPassword()
isEnabled
public boolean isEnabled()
isAccountNonExpired
public boolean isAccountNonExpired()
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
isAccountNonLocked
public boolean isAccountNonLocked()
getGrantedAuthorities
public List<String> getGrantedAuthorities()
setUsername
public void setUsername(String username)
setPassword
public void setPassword(String password)
setEnabled
public void setEnabled(boolean enabled)
setAccountNonExpired
public void setAccountNonExpired(boolean accountNonExpired)
setCredentialsNonExpired
public void setCredentialsNonExpired(boolean credentialsNonExpired)
setAccountNonLocked
public void setAccountNonLocked(boolean accountNonLocked)
setGrantedAuthorities
public void setGrantedAuthorities(List<String> grantedAuthorities)
addGrantedAuthority
public void addGrantedAuthority(String grantedAuthority)
getTopAuthorityDisplay
public String getTopAuthorityDisplay()
Copyright © 2009-2011 DuraSpace. All Rights Reserved.