org.acegisecurity.userdetails.memory
Class UserAttribute

java.lang.Object
  extended by org.acegisecurity.userdetails.memory.UserAttribute

public class UserAttribute
extends Object

Used by InMemoryDaoImpl to temporarily store the attributes associated with a user.

Version:
$Id: UserAttribute.java,v 1.3 2005/11/29 13:10:09 benalex Exp $
Author:
Ben Alex

Constructor Summary
UserAttribute()
           
 
Method Summary
 void addAuthority(GrantedAuthority newAuthority)
           
 GrantedAuthority[] getAuthorities()
           
 String getPassword()
           
 boolean isEnabled()
           
 boolean isValid()
           
 void setEnabled(boolean enabled)
           
 void setPassword(String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAttribute

public UserAttribute()
Method Detail

getAuthorities

public GrantedAuthority[] getAuthorities()

setEnabled

public void setEnabled(boolean enabled)

isEnabled

public boolean isEnabled()

setPassword

public void setPassword(String password)

getPassword

public String getPassword()

isValid

public boolean isValid()

addAuthority

public void addAuthority(GrantedAuthority newAuthority)


Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.