<commit_before>/**
 *
 */
package org.jdcp.remote;

import java.rmi.Remote;

/**
 * A remote service for authenticating <code>JobService</code> users.
 * @author bwkimmel
 */
public interface AuthenticationService extends Remote {

	/**
	 * Authenticates a user.
	 * @param username The username identifying the user to authenticate.
	 * @param password The password of the user to authenticate.
	 * @return The <code>JobService</code> to use for this session.
	 * @throws SecurityException if the user name or password are invalid.
	 */
	JobService Login(String username, String password) throws SecurityException;

}<commit_msg>Renamed AuthenticationService.Login to AuthenticationService.authenticate.<commit_after>/**
 *
 */
package org.jdcp.remote;

import java.rmi.Remote;

/**
 * A remote service for authenticating <code>JobService</code> users.
 * @author bwkimmel
 */
public interface AuthenticationService extends Remote {

	/**
	 * Authenticates a user.
	 * @param username The username identifying the user to authenticate.
	 * @param password The password of the user to authenticate.
	 * @return The <code>JobService</code> to use for this session.
	 * @throws SecurityException if the user name or password are invalid.
	 */
	JobService authenticate(String username, String password) throws SecurityException;

}
{'fraction_non_alphanumeric': 0.0911144578313253, 'fraction_numerical': 0.0, 'mean_word_length': 4.380566801619433, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3946377', 'n_tokens_mistral': 370, 'n_tokens_neox': 345, 'n_words': 133}