![JAR search and dependency download from the Maven repository](/logo.png)
org.chenillekit.access.services.AuthenticationService Maven / Gradle / Ivy
/*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* Copyright 2008-2010 by chenillekit.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.chenillekit.access.services;
import org.chenillekit.access.WebSessionUser;
/**
* Actual way for the web application to authenticate the user coming in.
*
* @version $Id: AuthenticationService.java 686 2010-08-04 15:42:29Z mlusetti $
*/
public interface AuthenticationService
{
/**
* User authentication.
*
* @param userName name of the user
* @param password users password
*/
WebSessionUser> doAuthenticate(String userName, String password);
/**
* check for user is authenticated.
*/
boolean isAuthenticate();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy