Revision 2:dcd717e1bcae src/my/com/upass/gemalto/GemaltoTokenControllerImpl.java

View differences:

src/my/com/upass/gemalto/GemaltoTokenControllerImpl.java
121 121
	 * this will override the existing tokenBean
122 122
	 * 
123 123
	 */
124
	@Override
125 124
	public void setObject(TokenBean tokenBean) 
126 125
	{
127 126
		this.tb = tokenBean;
......
131 130
	 * this will return the updated object (tokenBean)
132 131
	 * 
133 132
	 */
134
	@Override
135 133
	public TokenBean getUpdatedObject() 
136 134
	{
137 135
		return tb;
......
316 314
	 * it also acts as last returned error code.
317 315
	 * 
318 316
	 */
319
	@Override
320 317
	public int getRetCode() 
321 318
	{
322 319
		return retCode;
......
326 323
	 * this will return the updated error text based on the error code
327 324
	 * 
328 325
	 */
329
	@Override
330 326
	public String getLastError() 
331 327
	{
332 328
		String code = null;
......
363 359
	 * Verify the entered On Time Password (OTP/password) for the given token
364 360
	 * 
365 361
	 */
366
	@Override
367 362
	public int verifyToken(String otp, String userAlias, String pin) throws Exception
368 363
	{
369 364
		return verifyToken(otp);
......
584 579
	 * The blob will be regenerated with the backup blob which is initially generated when it is imported from the pskc file.
585 580
	 * 
586 581
	 */
587
	@Override
588 582
	public int resetToken() 
589 583
	{
590 584
		this.retCode = 0;
......
600 594
		return Constants.ERR_SUCCESS;
601 595
	}
602 596

  
603
	@Override
604 597
	public HashMap<String, String> getTokenBlobInfo() 
605 598
	{
606 599
		HashMap<String,String>  map = new HashMap<String,String>();
......
669 662
		}
670 663
	}
671 664

  
672
	@Override
673 665
	public int syncToken(String userAlias, String otp1, String otp2) {
674 666
		// TODO Auto-generated method stub
675 667
		return 0;

Also available in: Unified diff