Revision 46:aaeec554347e
src/main/java/my/com/upass/MinimalUPassControllerV2.java | ||
---|---|---|
9 | 9 |
import my.com.upass.dao.ConfigurationDAO; |
10 | 10 |
import my.com.upass.dao.MinimalDAOFactory; |
11 | 11 |
import my.com.upass.maybank.entities.UserProfile; |
12 |
import my.com.upass.pojo.ClientApp; |
|
12 | 13 |
import my.com.upass.pojo.ConfigurationBean; |
13 | 14 |
import my.com.upass.pojo.MinimalUserBean; |
14 | 15 |
import my.com.upass.services.AppAccessMgtService; |
... | ... | |
158 | 159 |
return addUser(appAccessId, hashedSecretKey, user, accessType, txSession, true); |
159 | 160 |
} |
160 | 161 |
|
162 |
/** |
|
163 |
* This methods identifies the target app using <code>appAccessId</code>, |
|
164 |
* hence meant for {@link ClientApp}s |
|
165 |
* |
|
166 |
* @see #addUser(String, String, MinimalUserBean, char, int, Session, boolean) |
|
167 |
*/ |
|
161 | 168 |
public int addUser( |
162 | 169 |
String appAccessId, String hashedSecretKey, MinimalUserBean user, |
163 | 170 |
char accessType, Session txSession, boolean checkPassword) { |
... | ... | |
198 | 205 |
} |
199 | 206 |
|
200 | 207 |
/** |
201 |
* This method is meant for USS only. |
|
208 |
* Because of the ability to choose the target app, |
|
209 |
* this method is meant for USS only. |
|
210 |
* |
|
211 |
* @see #addUser(String, String, MinimalUserBean, char, Session) |
|
202 | 212 |
*/ |
203 | 213 |
public int addUser( |
204 | 214 |
String adminUsername, String adminPassword, MinimalUserBean user, |
Also available in: Unified diff