return null; //To change body of implemented methods use File | Settings | File Templates.
}
public User createGuestUser()
{
return new User()
{
public Object getPrincipal()
{
return "guest";
}
public String getUsername()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setUsername( String name )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public String getFullName()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setFullName( String name )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public String getEmail()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setEmail( String address )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public String getPassword()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setPassword( String rawPassword )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public String getEncodedPassword()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setEncodedPassword( String encodedPassword )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public Date getLastPasswordChange()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setLastPasswordChange( Date passwordChangeDate )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public List<String> getPreviousEncodedPasswords()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setPreviousEncodedPasswords( List<String> encodedPasswordList )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public void addPreviousEncodedPassword( String encodedPassword )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isPermanent()
{
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setPermanent( boolean permanent )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isLocked()
{
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setLocked( boolean locked )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isPasswordChangeRequired()
{
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setPasswordChangeRequired( boolean changeRequired )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public boolean isValidated()
{
return false; //To change body of implemented methods use File | Settings | File Templates.
}
public void setValidated( boolean valid )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public int getCountFailedLoginAttempts()
{
return 0; //To change body of implemented methods use File | Settings | File Templates.
}
public void setCountFailedLoginAttempts( int count )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public Date getAccountCreationDate()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setAccountCreationDate( Date date )
{
//To change body of implemented methods use File | Settings | File Templates.
}
public Date getLastLoginDate()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public void setLastLoginDate( Date date )
{
//To change body of implemented methods use File | Settings | File Templates.
}
};
}
public UserQuery createUserQuery()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public List<User> getUsers()
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public List<User> getUsers( boolean orderAscending )
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public User addUser( User user )
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public User updateUser( User user )
throws UserNotFoundException
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public User findUser( String username )
throws UserNotFoundException
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
public User getGuestUser()
throws UserNotFoundException
{
return new User()
{
public Object getPrincipal()
{
return "guest";
}