METHOD_0 ( ) { when ( IDENT_0 . getProperty ( eq ( IDENT_1 . IDENT_2 ) ) ) . thenReturn ( new org . apache . nifi . util . METHOD_1 ( STRING_0 ) ) ; IDENT_3 = org . mockito . Mockito . mock ( org . apache . nifi . util . IDENT_4 . class ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( "test" ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( "test" ) ; IDENT_5 = new org . apache . nifi . IDENT_6 . authorization . IDENT_7 . METHOD_4 ( IDENT_8 ) ; IDENT_5 . METHOD_5 ( IDENT_3 ) ; try { IDENT_5 . METHOD_6 ( IDENT_0 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( org . apache . nifi . authorization . exception . IDENT_9 e ) { boolean IDENT_10 = false ; java . lang . Throwable IDENT_11 = e . METHOD_7 ( ) ; while ( IDENT_11 != null ) { if ( IDENT_11 instanceof javax . security . auth . IDENT_12 . IDENT_13 ) { IDENT_10 = true ; break ; } IDENT_11 = IDENT_11 . METHOD_7 ( ) ; } "<AssertPlaceHolder>" ; } } METHOD_6 ( org . apache . nifi . authorization . IDENT_14 ) { try { if ( ( IDENT_15 ) == null ) { org . apache . nifi . IDENT_6 . authorization . IDENT_1 . logger . info ( STRING_2 ) ; final org . apache . nifi . components . IDENT_16 IDENT_17 = IDENT_0 . getProperty ( org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_18 ) ; METHOD_8 ( org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_18 , IDENT_17 ) ; final org . apache . nifi . components . IDENT_16 IDENT_19 = IDENT_0 . getProperty ( org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_20 ) ; METHOD_8 ( org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_20 , IDENT_19 ) ; final java . lang . String IDENT_21 = METHOD_9 ( IDENT_0 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_2 , Boolean . IDENT_22 . toString ( ) ) ; IDENT_23 = ( IDENT_21 . equals ( Boolean . IDENT_24 . toString ( ) ) ) ? true : false ; if ( IDENT_23 ) { final org . apache . hadoop . conf . Configuration IDENT_25 = new org . apache . hadoop . conf . Configuration ( ) ; IDENT_25 . set ( org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_26 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_27 ) ; org . apache . hadoop . security . IDENT_28 . METHOD_10 ( IDENT_25 ) ; final java . lang . String IDENT_29 = IDENT_3 . METHOD_3 ( ) ; final java . lang . String IDENT_30 = IDENT_3 . METHOD_2 ( ) ; if ( ( org . apache . commons . lang . StringUtils . METHOD_11 ( IDENT_29 ) ) || ( org . apache . commons . lang . StringUtils . METHOD_11 ( IDENT_30 ) ) ) { throw new org . apache . nifi . authorization . exception . METHOD_12 ( STRING_3 ) ; } org . apache . hadoop . security . IDENT_28 . METHOD_13 ( IDENT_29 . trim ( ) , IDENT_30 . trim ( ) ) ; } final java . lang . String IDENT_31 = METHOD_9 ( IDENT_0 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_32 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_33 ) ; final java . lang . String IDENT_34 = METHOD_9 ( IDENT_0 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_35 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_36 ) ; IDENT_15 = METHOD_14 ( IDENT_31 , IDENT_34 ) ; IDENT_15 . init ( ) ; IDENT_37 = new org . apache . IDENT_6 . plugin . IDENT_38 . METHOD_15 ( ) ; IDENT_39 = METHOD_9 ( IDENT_0 , org . apache . nifi . IDENT_6 . authorization . IDENT_1 . IDENT_40 , null ) ; } else { org . apache . nifi . IDENT_6 . authorization . IDENT_1 . logger . info ( STRING_4 ) ; } } catch ( java . lang . Throwable t ) { throw new org . apache . nifi . authorization . exception . METHOD_12 ( STRING_5 , t ) ; } }
org . junit . Assert . assertTrue ( IDENT_10 )