sign the cookie given the string token as input . concode_field_sep Log LOG concode_elem_sep String SIGNATURE concode_elem_sep String SHA_STRING concode_elem_sep byte[] secretBytes concode_field_sep String getSignature concode_elem_sep String verifyAndExtract
String function ( String arg0 ) { if ( arg0 == null || arg0 . isEmpty ( ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } String loc0 = getSignature ( arg0 ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "srini_string" + arg0 + "srini_string" + loc0 ) ; } return arg0 + SIGNATURE + loc0 ; }