1 /******************************************************************************* 2 * Copyright (c) 2005, 2006 Imola Informatica. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the LGPL License v2.1 5 * which accompanies this distribution, and is available at 6 * http://www.gnu.org/licenses/lgpl.html 7 *******************************************************************************/ 8 /** 9 * 10 */ 11 package it.imolinfo.jbi4cics.security; 12 13 import it.imolinfo.jbi4cics.service.ServiceContext; 14 15 /** 16 * @author raffaele 17 * 18 */ 19 public class DummySecurityManager implements SecurityManager { 20 21 /** 22 * void constructor. 23 */ 24 public DummySecurityManager(){ 25 super(); 26 } 27 28 /* (non-Javadoc) 29 * @see it.imolinfo.jbi4cics.security.SecurityManager#getAccount(it.imolinfo.jbi4cics.service.ServiceContext) 30 */ 31 public Account getAccount(ServiceContext serviceContext) { 32 return new Account(){ 33 public String getUsername(){ 34 return "Dummy"; 35 } 36 public String getPassword(){ 37 return "Dummy"; 38 } 39 }; 40 } 41 42 }