AmASJ2EEAuthHandler.java revision 80c77071c6700660c39046da32a0d7953620f608
2N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2N/A * Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved 2N/A * The contents of this file are subject to the terms 2N/A * of the Common Development and Distribution License 2N/A * (the License). You may not use this file except in 2N/A * compliance with the License. 2N/A * You can obtain a copy of the License at 2N/A * See the License for the specific language governing 2N/A * permission and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL 2N/A * Header Notice in each file and include the License file 2N/A * If applicable, add the following below the CDDL Header, 2N/A * with the fields enclosed by brackets [] replaced by 2N/A * your own identifying information: 2N/A * "Portions Copyrighted [year] [name of copyright owner]" * The J2EE Authentication handler class for Sun Appserver 8.1 Agent * Authenticate a user based on username and password * @param userName The user name * @param password The user's password * @param request The HttpServeltRequest object * @param response The HttpServletResponse object * @param extraData Some extra data for the authentication * @return true if authentication is successful +
"Programmatic Login Failed, Invalidating Session");
// Show some success message +
"Programmatic Login was successful");