1 /*
2 * Apache License
3 * Version 2.0, January 2004
4 * http://www.apache.org/licenses/
5 *
6 * Copyright 2008 by chenillekit.org
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 */
14
15 package org.chenillekit.access.services;
16
17 import org.chenillekit.access.WebSessionUser;
18
19 /**
20 *
21 * @version $Id: AuthenticationService.java 380 2008-12-30 10:21:52Z mlusetti $
22 */
23 public interface AuthenticationService
24 {
25 /**
26 * User authentication.
27 *
28 * @param userName name of the user
29 * @param password users password
30 */
31 WebSessionUser doAuthenticate(String userName, String password);
32 }