m2u-upass-core / src / my / com / upass / vasco / TokenController.java @ 31:41feb70979b9
History | View | Annotate | Download (1.14 KB)
1 |
/*
|
---|---|
2 |
* Copyright (c) 2012 Penril Datability (M) Sdn Bhd All rights reserved.
|
3 |
*
|
4 |
* This software is copyrighted. Under the copyright laws, this software
|
5 |
* may not be copied, in whole or in part, without prior written consent
|
6 |
* of Penril Datability (M) Sdn Bhd or its assignees. This software is
|
7 |
* provided under the terms of a license between Penril Datability (M)
|
8 |
* Sdn Bhd and the recipient, and its use is subject to the terms of that
|
9 |
* license.
|
10 |
*/
|
11 |
package my.com.upass.vasco; |
12 |
|
13 |
import java.util.HashMap; |
14 |
|
15 |
import my.com.upass.TokenBean; |
16 |
|
17 |
/*
|
18 |
* <pre>
|
19 |
* PROGRAMMER: Hadi Ahmadi
|
20 |
* CHANGE-NO:
|
21 |
* TASK-NO:
|
22 |
* DATE CREATED: Apr 2, 2012
|
23 |
* TAG AS:
|
24 |
* REASON(S):
|
25 |
* MODIFICATION:
|
26 |
* </pre>
|
27 |
*/
|
28 |
|
29 |
/**
|
30 |
* <Class description>
|
31 |
*/
|
32 |
public interface TokenController { |
33 |
|
34 |
void setObject(TokenBean tokenBean);
|
35 |
|
36 |
TokenBean getUpdatedObject(); |
37 |
|
38 |
int getRetCode();
|
39 |
|
40 |
String getLastError();
|
41 |
|
42 |
//For GEMALTO And VASCO only OTP required, for SM required all parameters
|
43 |
int verifyToken( String otp, String userAlias, String pin) throws Exception ; |
44 |
|
45 |
int resetToken();
|
46 |
|
47 |
int syncToken(String userAlias, String otp1, String otp2); |
48 |
|
49 |
HashMap<String, String> getTokenBlobInfo(); |
50 |
} |