code: @Override
  	public SecurityContext getContext(String userName, String password) throws FFMQSecurityException 
  	{
  		if (userName == null)
  			throw new FFMQSecurityException("User name not specified","INVALID_SECURITY_DESCRIPTOR");
  		
  		// Check user and password
  		User user = descriptor.getUser(userName);
          if (user == null || !user.getPassword().equals(password))
              throw new FFMQSecurityException("Invalid user/password","INVALID_SECURITY_DESCRIPTOR");
          
          return user;
  	}
docs: /*
  (non-Javadoc)
  @see net.timewalker.ffmq4.security.SecurityConnector#getContext(java.lang.String, java.lang.String)