org.duracloud.security.domain
Class SecurityUserBean

java.lang.Object
  extended by org.duracloud.security.domain.SecurityUserBean

public class SecurityUserBean
extends Object

Author:
Andrew Woods Date: Mar 28, 2010

Field Summary
static String SCHEMA_VERSION
           
 
Constructor Summary
SecurityUserBean()
           
SecurityUserBean(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, List<String> grantedAuthorities)
           
SecurityUserBean(String username, String password, List<String> grantedAuthorities)
           
 
Method Summary
 void addGrantedAuthority(String grantedAuthority)
           
 List<String> getGrantedAuthorities()
           
 String getPassword()
           
 String getTopAuthorityDisplay()
           
 String getUsername()
           
 boolean isAccountNonExpired()
           
 boolean isAccountNonLocked()
           
 boolean isCredentialsNonExpired()
           
 boolean isEnabled()
           
 void setAccountNonExpired(boolean accountNonExpired)
           
 void setAccountNonLocked(boolean accountNonLocked)
           
 void setCredentialsNonExpired(boolean credentialsNonExpired)
           
 void setEnabled(boolean enabled)
           
 void setGrantedAuthorities(List<String> grantedAuthorities)
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA_VERSION

public static final String SCHEMA_VERSION
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

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.