METHOD_0 ( ) { com . liferay . portal . IDENT_0 . transaction . IDENT_1 . IDENT_2 IDENT_3 = new com . liferay . portal . IDENT_0 . transaction . IDENT_1 . METHOD_1 ( IDENT_4 ) ; com . liferay . portal . IDENT_0 . transaction . IDENT_5 IDENT_6 = METHOD_2 ( IDENT_3 ) ; com . liferay . portal . IDENT_0 . transaction . IDENT_7 IDENT_8 = com . liferay . portal . IDENT_0 . transaction . IDENT_1 . METHOD_3 ( ( t ) -> false ) ; try { IDENT_6 . execute ( IDENT_8 , ( ) -> { throw IDENT_9 ; } ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . Throwable t ) { "<AssertPlaceHolder>" ; } IDENT_3 . verify ( IDENT_8 , IDENT_4 , null ) ; } execute ( javax . servlet . http . IDENT_10 , javax . servlet . http . IDENT_11 ) { com . liferay . portal . kernel . IDENT_12 . IDENT_13 IDENT_14 = ( ( com . liferay . portal . kernel . IDENT_12 . IDENT_13 ) ( request . METHOD_4 ( IDENT_15 . IDENT_16 ) ) ) ; if ( ! ( IDENT_17 . METHOD_5 ( IDENT_14 . METHOD_6 ( ) ) ) ) { throw new com . liferay . portal . kernel . security . auth . IDENT_18 . METHOD_7 ( IDENT_14 . METHOD_6 ( ) , com . liferay . portal . kernel . facebook . IDENT_19 . class . getName ( ) ) ; } javax . servlet . http . IDENT_20 session = request . METHOD_8 ( ) ; java . lang . String IDENT_21 = ( ( java . lang . String ) ( session . METHOD_4 ( IDENT_15 . IDENT_22 ) ) ) ; java . lang . String state = com . liferay . portal . kernel . util . IDENT_23 . getString ( request , STRING_0 ) ; com . liferay . portal . kernel . json . JSONObject IDENT_24 = com . liferay . portal . kernel . json . IDENT_25 . METHOD_9 ( state ) ; java . lang . String IDENT_26 = IDENT_24 . getString ( STRING_1 ) ; if ( ! ( IDENT_26 . equals ( IDENT_21 ) ) ) { throw new com . liferay . portal . kernel . security . auth . IDENT_18 . METHOD_10 ( IDENT_27 . METHOD_11 ( request ) , com . liferay . IDENT_28 . authentication . facebook . connect . web . internal . IDENT_29 . action . IDENT_30 . class . getName ( ) ) ; } if ( ! ( com . liferay . portal . kernel . util . IDENT_31 . METHOD_12 ( com . liferay . portal . kernel . util . IDENT_23 . getString ( request , STRING_2 ) ) ) ) { if ( com . liferay . IDENT_28 . authentication . facebook . connect . web . internal . IDENT_29 . action . IDENT_30 . IDENT_32 . METHOD_13 ( ) ) { com . liferay . IDENT_28 . authentication . facebook . connect . web . internal . IDENT_29 . action . IDENT_30 . IDENT_32 . debug ( ( STRING_3 + ( request . METHOD_14 ( ) ) ) ) ; } return IDENT_33 ; } java . lang . String IDENT_34 = IDENT_24 . getString ( STRING_4 ) ; IDENT_34 = IDENT_27 . METHOD_15 ( IDENT_34 ) ; java . lang . String code = com . liferay . portal . kernel . util . IDENT_23 . getString ( request , STRING_5 ) ; java . lang . String token = IDENT_17 . METHOD_16 ( IDENT_14 . METHOD_6 ( ) , IDENT_34 , code ) ; if ( com . liferay . portal . kernel . util . IDENT_31 . METHOD_17 ( token ) ) { try { com . liferay . portal . kernel . model . User user = METHOD_18 ( session , IDENT_14 . METHOD_6 ( ) , token ) ; if ( ( user != null ) && ( ( user . getStatus ( ) ) == ( com . liferay . portal . kernel . IDENT_35 . IDENT_36 . IDENT_37 ) ) ) { METHOD_19 ( request , response , user ) ; return null ; } } catch ( com . liferay . portal . kernel . exception . IDENT_38 IDENT_39 ) { if ( com . liferay . IDENT_28 . authentication . facebook . connect . web . internal . IDENT_29 . action . IDENT_30 . IDENT_32 . METHOD_13 ( ) ) { com . liferay . IDENT_28 . authentication . facebook . connect . web . internal . IDENT_29 . action . IDENT_30 . IDENT_32 . debug ( IDENT_39 , IDENT_39 ) ; } java . lang . Class < ? > clazz = IDENT_39 . getClass ( ) ; METHOD_20 ( clazz . METHOD_21 ( ) , request , response ) ; return null ; } } else { return IDENT_33 ; } response . METHOD_22 ( IDENT_34 ) ; return null ; }
org . junit . Assert . assertSame ( IDENT_9 , t )