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