protected void gotAuthResponse ( AuthResponse rsp ) throws LogonException { AuthResponseData data = rsp . getData ( ) ; if ( ! data . code . equals ( AuthResponseData . SUCCESS ) ) { throw new LogonException ( data . code ) ; } logonSucceeded ( data ) ; }
Subclasses must call this method when they receive the authentication response .