Revision 18:418e2f6aac6f

View differences:

src/main/java/my/com/upass/maybank/MinimalMaybankFacade.java
1
package my.com.upass.maybank;
2

  
3
public interface MinimalMaybankFacade {
4

  
5
	int authenticateUser(
6
			String appKey, String username, String hashedPassword);
7

  
8
	int newUser(
9
			String appKey, String username, String hashedPassword,
10
			String pan1, String pan2);
11

  
12
	int newPublicUser(
13
			String appKey, String username, String hashedPassword,
14
			String panCC);
15

  
16
	int changePassword(
17
			String appKey, String username,
18
			String oldHashedPassword, String newHashedPassword);
19

  
20
	int resetPassword(
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
}
src/main/java/my/com/upass/maybank/MinimalMaybankFacadeImpl.java
1
package my.com.upass.maybank;
2

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

  
5
public class MinimalMaybankFacadeImpl implements MinimalMaybankFacade {
6

  
7
	public int authenticateUser(String appKey, String username, String hashedPassword) {
8
		// TODO Auto-generated method stub
9
		throw new NotImplementedException();
10
	}
11

  
12
	public int newUser(String appKey, String username, String hashedPassword, String pan1, String pan2) {
13
		// TODO Auto-generated method stub
14
		throw new NotImplementedException();
15
	}
16

  
17
	public int newPublicUser(String appKey, String username, String hashedPassword, String panCC) {
18
		// TODO Auto-generated method stub
19
		throw new NotImplementedException();
20
	}
21

  
22
	public int changePassword(String appKey, String username, String oldHashedPassword, String newHashedPassword) {
23
		// TODO Auto-generated method stub
24
		throw new NotImplementedException();
25
	}
26

  
27
	public int resetPassword(String appKey, String username, String newHashedPassword) {
28
		// TODO Auto-generated method stub
29
		throw new NotImplementedException();
30
	}
31

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

Also available in: Unified diff