Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
RSAAdmin
Beginner
Beginner

RSA SecurID's NextOTP function issue.

Now, I'm working with RSA SecurID.

Now, I create an Token and TokenCode is change for 1 minutes.

In other word, after a tokencode's remaining time is passed, next tokencode is showed.

But Now, I want to ignore a tokencode's remaining time.

In other word, When I click the "Next OPT" button, I want to see next tokencode soon without current tokencode's remaining time's ignore.

 

For this I changed RSA Sample Source

/**

     * Get OTP for the token specified by the token serial number

     * @param tokenSerialNumber serial number of the token

     * @param pin PIN assigned to the token

     * @return OTP information for the token

     */

    Otp getTokenCode(String tokenSerialNumber, String pin)

    {

        Otp otp = null;

        try {

            if(pin == null) { pin = ""; }  //if there is no PIN, use empty string

            //otp = m_lib.getOtp(tokenSerialNumber, pin.getBytes());          // ------------- Old Code

            otp = m_lib.getNextOtp(tokenSerialNumber, pin.getBytes());    // --------------- Changed Code

        }

        catch(SecurIDLibException ex) {

            ex.printStackTrace();

            displayError(ex);

        }

        return otp;

    }

 

When I click the "Next OTP" button, this function is called. so in this function I changed getOtp to getNextOtp

But now getNextOtp isn't correct. getNextOtp doesn't support Next Otp.

So, About this, I want to someone's help.

Please Help me !!!

 

thank you.

0 Likes
1 Reply
RSAAdmin
Beginner
Beginner

Discussion has been moved to the RSA Mobile Authentication Space.

 

Originally posted on the Documentum Community.

0 Likes