net.databinder.auth.data
Interface DataUser

All Known Subinterfaces:
UserBase

public interface DataUser

Base user interface.

Author:
Nathan Hamblen

Method Summary
 DataPassword getPassword()
           
 java.lang.String getUsername()
           
 boolean hasRole(java.lang.String role)
           
 

Method Detail

hasRole

boolean hasRole(java.lang.String role)
Returns:
true if user has the corresponding role

getPassword

DataPassword getPassword()
Returns:
password holder, should never be null

getUsername

java.lang.String getUsername()
Returns:
value used to identify user; may be e-mail or other identifier.


Copyright © 2005-2008 Nathan Hamblen. All Rights Reserved.