src/org/ohmage/request/auth/AuthTokenRequest.java
@Override
	public void service() {
		LOGGER.info("Servicing the authentication token request.");

		if(! authenticate(AllowNewAccount.NEW_ACCOUNT_DISALLOWED)) {
			return;
		}
		
		try {
			UserBin.addUser(getUser());
		}
		catch(DomainException e) {
			e.logException(LOGGER);
			e.failRequest(this);
		}
	}
/**
	 * Authenticates the request with the username and password that were 
	 * passed in as parameters, and, if successful, adds the user to the bin 
	 * generating a token.
	 */
Authenticates the request with the username and password that were
passed in as parameters, and, if successful, adds the user to the bin
generating a token.
Authenticates the request with the username and password that were passed in as parameters and if successful adds the user to the bin generating a token .
@Override
	public void service() {
		LOGGER.info("Servicing the authentication token request.");
		if(! authenticate(AllowNewAccount.NEW_ACCOUNT_DISALLOWED)) {
			return;
		}
		try {
			UserBin.addUser(getUser());
		}
		catch(DomainException e) {
			e.logException(LOGGER);
			e.failRequest(this);
		}
	}
@ Override public void service ( ) { LOGGER . info ( "Servicing the authentication token request." ) ; if ( ! authenticate ( AllowNewAccount . NEW_ACCOUNT_DISALLOWED ) ) { return ; } try { UserBin . addUser ( getUser ( ) ) ; } catch ( DomainException e ) { e . logException ( LOGGER ) ; e . failRequest ( this ) ; } }
Authenticates the request with the username and password that were
 passed in as parameters, and, if successful, adds the user to the bin
 generating a token.
Authenticates the request with the username and password that were passed in as parameters and if successful adds the user to the bin generating a token .