src/main/java/org/tinyradius/packet/AccountingRequest.java
@Override
    protected void checkRequestAuthenticator(String sharedSecret, int packetLength, byte[] attributes) throws RadiusException {
        byte[] expectedAuthenticator = updateRequestAuthenticator(sharedSecret, packetLength, attributes);
        byte[] receivedAuth = getAuthenticator();
        for (int i = 0; i < 16; i++) {
            if (expectedAuthenticator[i] != receivedAuth[i]) {
                throw new RadiusException("request authenticator invalid");
            }
        }
    }
/**
     * Checks the received request authenticator as specified by RFC 2866.
     */
Checks the received request authenticator as specified by RFC 2866.
Checks the received request authenticator as specified by RFC 2866 .
@Override
    protected void checkRequestAuthenticator(String sharedSecret, int packetLength, byte[] attributes) throws RadiusException {
        byte[] expectedAuthenticator = updateRequestAuthenticator(sharedSecret, packetLength, attributes);
        byte[] receivedAuth = getAuthenticator();
        for (int i = 0; i < 16; i++) {
            if (expectedAuthenticator[i] != receivedAuth[i]) {
                throw new RadiusException("request authenticator invalid");
            }
        }
    }
@ Override protected void checkRequestAuthenticator ( String sharedSecret , int packetLength , byte [ ] attributes ) throws RadiusException { byte [ ] expectedAuthenticator = updateRequestAuthenticator ( sharedSecret , packetLength , attributes ) ; byte [ ] receivedAuth = getAuthenticator ( ) ; for ( int i = 0 ; i < 16 ; i ++ ) { if ( expectedAuthenticator [ i ] != receivedAuth [ i ] ) { throw new RadiusException ( "request authenticator invalid" ) ; } } }
Checks the received request authenticator as specified by RFC 2866.
Checks the received request authenticator as specified by RFC 2866 .