METHOD_0 ( ) { org . springframework . security . core . IDENT_0 authentication = new org . springframework . security . authentication . METHOD_1 ( org . apache . ambari . server . security . authorization . IDENT_1 . IDENT_2 , STRING_0 ) ; org . apache . ambari . server . configuration . Configuration configuration = METHOD_2 ( IDENT_3 . IDENT_4 ) ; org . apache . ambari . server . security . authorization . IDENT_5 IDENT_6 = METHOD_3 ( org . apache . ambari . server . security . authorization . IDENT_5 . class ) ; org . apache . ambari . server . ldap . service . IDENT_7 IDENT_8 = METHOD_3 ( org . apache . ambari . server . ldap . service . IDENT_7 . class ) ; org . apache . ambari . server . security . authorization . IDENT_9 IDENT_10 = METHOD_3 ( org . apache . ambari . server . security . authorization . IDENT_9 . class ) ; org . apache . ambari . server . security . authorization . IDENT_11 IDENT_12 = METHOD_4 ( org . apache . ambari . server . security . authorization . IDENT_11 . class ) . METHOD_5 ( IDENT_6 , configuration , IDENT_8 , IDENT_10 ) . METHOD_6 ( STRING_1 ) . METHOD_3 ( ) ; METHOD_7 ( ) ; org . springframework . security . core . IDENT_0 result = IDENT_12 . METHOD_8 ( authentication ) ; "<AssertPlaceHolder>" ; METHOD_9 ( ) ; } METHOD_8 ( org . springframework . security . core . IDENT_0 ) { if ( ( authentication . getName ( ) ) == null ) { org . apache . ambari . server . security . authentication . IDENT_13 . LOG . info ( STRING_2 ) ; throw new org . apache . ambari . server . security . authentication . METHOD_10 ( "" ) ; } java . lang . String IDENT_14 = authentication . getName ( ) . trim ( ) ; if ( ( authentication . METHOD_11 ( ) ) == null ) { org . apache . ambari . server . security . authentication . IDENT_13 . LOG . info ( STRING_3 , IDENT_14 ) ; throw new org . apache . ambari . server . security . authentication . METHOD_10 ( IDENT_14 ) ; } org . apache . ambari . server . security . authorization . IDENT_5 IDENT_6 = METHOD_12 ( ) ; org . apache . ambari . server . IDENT_15 . entities . IDENT_16 IDENT_17 = IDENT_6 . METHOD_13 ( IDENT_14 ) ; if ( IDENT_17 == null ) { org . apache . ambari . server . security . authentication . IDENT_13 . LOG . info ( STRING_4 , IDENT_14 ) ; throw new org . apache . ambari . server . security . authentication . METHOD_10 ( IDENT_14 ) ; } org . apache . ambari . server . IDENT_15 . entities . IDENT_18 IDENT_19 = METHOD_14 ( IDENT_17 , IDENT_20 . IDENT_4 ) ; if ( IDENT_19 != null ) { java . lang . String IDENT_21 = IDENT_19 . METHOD_15 ( ) ; java . lang . String IDENT_22 = authentication . METHOD_11 ( ) . toString ( ) ; if ( IDENT_23 . matches ( IDENT_22 , IDENT_21 ) ) { org . apache . ambari . server . security . authentication . IDENT_13 . LOG . debug ( STRING_5 , IDENT_14 ) ; try { IDENT_6 . METHOD_16 ( IDENT_17 , IDENT_14 ) ; } catch ( org . apache . ambari . server . security . authentication . IDENT_24 | org . apache . ambari . server . security . authentication . IDENT_25 e ) { if ( METHOD_17 ( ) . METHOD_18 ( ) ) { throw e ; } else { throw new org . apache . ambari . server . security . authentication . METHOD_10 ( IDENT_14 , false , e ) ; } } org . apache . ambari . server . security . authentication . IDENT_26 IDENT_27 = new org . apache . ambari . server . security . authentication . METHOD_19 ( IDENT_6 . METHOD_20 ( IDENT_17 ) , IDENT_21 , IDENT_6 . METHOD_21 ( IDENT_17 ) ) ; return new org . apache . ambari . server . security . authentication . METHOD_22 ( IDENT_21 , IDENT_27 , true ) ; } } org . apache . ambari . server . security . authentication . IDENT_13 . LOG . debug ( STRING_6 , IDENT_14 ) ; throw new org . apache . ambari . server . security . authentication . METHOD_10 ( IDENT_14 ) ; }
org . junit . Assert . assertNull ( result )