@ SuppressWarnings ( "rawtypes" ) protected String extractPassword ( Object credentials ) { String password = null ; if ( credentials instanceof String ) { password = ( String ) credentials ; } else if ( credentials instanceof Map ) { password = ( String ) ( ( Map ) credentials ) . get ( MessageIOConstants . SECURITY_CREDENTIALS ) ; } return password ; }
Extracts the password from the Flex client credentials