01: /*
02: * (C) Copyright 2000 - 2003 Nabh Information Systems, Inc.
03: *
04: * This program is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License
06: * as published by the Free Software Foundation; either version 2
07: * of the License, or (at your option) any later version.
08: *
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: *
18: */
19:
20: package com.nabhinc.portal.spi.impl.jaas;
21:
22: import java.util.Map;
23:
24: import javax.security.auth.callback.CallbackHandler;
25:
26: /**
27: *
28: *
29: * @author Padmanabh Dabke
30: * (c) 2003 Nabh Information Systems, Inc. All Rights Reserved.
31: */
32: public interface StringbeansCallbackHandler extends CallbackHandler {
33:
34: /**
35: * Sets user name
36: * @param User name
37: */
38: public void setUserName(String userName);
39:
40: /**
41: * Sets user password
42: * @param Password supplied by the user.
43: */
44: public void setPassword(String password);
45:
46: /**
47: * Sets parameter map that can be used to extract additional
48: * authentication fields.
49: */
50: public void setParameterMap(Map paramMap);
51:
52: }
|