Revision 19:2f15ac9673c7

View differences:

src/main/java/my/com/upass/maybank/MinimalMaybankFacade.java
19 19

  
20 20
	int resetPassword(
21 21
			String appKey, String username, String newHashedPassword);
22

  
23
	// TODO: The return type must be refined.
24
	Object lookupPublicUserName(
25
			String appKey, String username);
26 22
}
src/main/java/my/com/upass/maybank/MinimalMaybankFacadeImpl.java
1 1
package my.com.upass.maybank;
2 2

  
3
import my.com.upass.MinimalUPassControllerV2;
4

  
3 5
import org.apache.commons.lang.NotImplementedException;
4 6

  
5 7
public class MinimalMaybankFacadeImpl implements MinimalMaybankFacade {
6 8

  
9
	private final MinimalUPassControllerV2 minUpcV2;
10

  
11
	public MinimalMaybankFacadeImpl() {
12
		minUpcV2 = new MinimalUPassControllerV2();
13
	}
14

  
7 15
	public int authenticateUser(String appKey, String username, String hashedPassword) {
8
		// TODO Auto-generated method stub
16
		// TODO Auto-generated method stub		
17
//		return minUpcV2.SP_VerifyStaticPassword(username, hashedPassword);
9 18
		throw new NotImplementedException();
10 19
	}
11 20

  
12 21
	public int newUser(String appKey, String username, String hashedPassword, String pan1, String pan2) {
13 22
		// TODO Auto-generated method stub
23
//		return minUpcV2.UA_AddUser(adminUserAlias, adminUserPassword, username, "", hashedPassword, appId);
14 24
		throw new NotImplementedException();
15 25
	}
16 26

  
......
28 38
		// TODO Auto-generated method stub
29 39
		throw new NotImplementedException();
30 40
	}
31

  
32
	public Object lookupPublicUserName(String appKey, String username) {
33
		// TODO Auto-generated method stub
34
		throw new NotImplementedException();
35
	}
36 41
}

Also available in: Unified diff