net.databinder.auth.data.ao
Interface UserBase

All Superinterfaces:
DataUser

public interface UserBase
extends DataUser

Optional DataUser extension with ActiveObjects field annotations. Client applications may extend this interface with an @Implementation that is an extension of UserHelper.


Method Summary
 DataPassword getPassword()
           
 byte[] getPasswordHash()
           
 org.apache.wicket.authorization.strategies.role.Roles getRoles()
           
 java.lang.String getRoleString()
           
 java.lang.String getUsername()
           
 void setPasswordHash(byte[] passwordHash)
           
 void setRoles(org.apache.wicket.authorization.strategies.role.Roles roles)
           
 void setRoleString(java.lang.String roleString)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from interface net.databinder.auth.data.DataUser
hasRole
 

Method Detail

getPassword

DataPassword getPassword()
Specified by:
getPassword in interface DataUser
Returns:
password holder, should never be null

getPasswordHash

byte[] getPasswordHash()

setPasswordHash

void setPasswordHash(byte[] passwordHash)

getUsername

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

setUsername

void setUsername(java.lang.String username)

getRoleString

java.lang.String getRoleString()

setRoleString

void setRoleString(java.lang.String roleString)

getRoles

org.apache.wicket.authorization.strategies.role.Roles getRoles()

setRoles

void setRoles(org.apache.wicket.authorization.strategies.role.Roles roles)


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